Question: Now build a Java Class to convert a Fahrenheit temperature to a Celsius temperature. Use a Scanner to read in a Fahr temp. You will
Now build a Java Class to convert a Fahrenheit temperature to a Celsius temperature. Use a Scanner to read in a Fahr temp. You will read in the Fahr temp as a double just like we did last week with salary. Then calculate the Celsius temp using the formula below. And print out the Cel temp to the DOS window using System.out.println(). Cel = (5.0/9.0) * (Fahr 32.0) Call your class Convert.java.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
