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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started