Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security

Authors: Alfred Basta, Melissa Zgola

1st Edition

1435453905, 978-1435453906

More Books

Students also viewed these Databases questions

Question

5. Wyeth Pharmaceuticals

Answered: 1 week ago