Question: Write a program that reads a temperature value, prompted by the user. After the user inputs the value please System.out the following message/program: Line 1

Write a program that reads a temperature value, prompted by the user. After the user inputs the value please System.out the following message/program: Line 1 -- Temperature Variable Entered + " F is equal to " + Converted to Celsius Variable + " C" Assume the user entered value is in Fahrenheit. Convert the integer value to Celsius and print out the statement above. Then, Print whether water is a liquid, solid or gaseous at the given temperature. You may use either the Fahrenheit or Celsius variable to calculate the state of matter for water.

when you input 98 degree Fahrenheit it should give 36.66 and it should convert into solid, liquid and gas.

Java

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!