pls help!!im java newbie

johnmeyer's Avatar, Join Date: Mar 2012
Newbie Member
Pls help!!im jave newbie....anyone can help me to solve tis simple question???i need the whole step.
Urgent!!
Write a java program to convert temperature degree from Celsius to Fahrenheit and vice versa,-You are required to display a message to the user asking for whether to convert to Celsius or Fahrenheit degree-If the user chose to convert from Celsius degree to Fahrenheit degree then use the following formula: ((9.0 / 5.0) * CELS) + 32.0- If the user chose to convert from Fahrenheit degree to Celsius degree then use the following formula: 5.0/9.0*(FAHR-32)-Your program should handle users input as the following-- F or f for converting from Celsius to Fahrenheit -- C or c for converting from Fahrenheit to Celsius-- Any other input the program should display a notification that the input is invalid.- Use JOptionPane class to interact with the user - Break down your code into smaller methods --A method to handle the conversion from Celsius to Fahrenheit --A method to handle the conversion from Fahrenheit to Celsius.-Test you program for the following temperatures -- 38C-- 80F
0
johnmeyer's Avatar, Join Date: Mar 2012
Newbie Member
Write a program to convert temperature degree from Celsius to Fahrenheit and vice versa,

**You are required to display a message to the user asking for whether to convert to Celsius or Fahrenheit degree

**If the user chose to convert from Celsius degree to Fahrenheit degree then use the following formula: ((9.0 / 5.0) * CELS) + 32.0

**If the user chose to convert from Fahrenheit degree to Celsius degree then use the following formula: 5.0/9.0*(FAHR-32)

**Your program should handle users input as the following
-F or f for converting from Celsius to Fahrenheit
-C or c for converting from Fahrenheit to Celsius
-Any other input the program should display a notification that the input is invalid.

**Use JOptionPane class to interact with the user

**Break down your code into smaller methods
-A method to handle the conversion from Celsius to Fahrenheit
-A method to handle the conversion from Fahrenheit to Celsius.

**Test you program for the following temperatures
-37C
-80F