Question: 1. Write JAVA program that will prompt user for the temperature in Fahrenheit and a conversion code. Your program to calculate and display the conversion

 1. Write JAVA program that will prompt user for the temperature

1. Write JAVA program that will prompt user for the temperature in Fahrenheit and a conversion code. Your program to calculate and display the conversion according to the conversion code as shown below: Conversion code Display Temperature in Kelvin Celsius Centigrade If the conversion code is not 1.2, or 3 then the words 'Invalid conversion code' are to be displayed. You may use the following formula for conversion: Fahrenheitto Kelvin. Kelvin - (F+273) Fahrenheit to Celsius. Celsius - (F-30)/2 Fahrenheitto Centigrade centigrade - ((F-32)/9)x5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!