Question: Write a program that converts degrees from Fahrenheit to Celsius, using the formula DegreesC = 5(DegreesF 32)/9 Prompt the user to enter a temperature in
Write a program that converts degrees from Fahrenheit to Celsius, using the formula
DegreesC = 5(DegreesF −32)/9
Prompt the user to enter a temperature in degrees Fahrenheit as a whole number without a fractional part. Then have the program display the equivalent Celsius temperature, including the fractional part to at least one decimal point. A possible dialogue with the user might be Enter a temperature in degrees Fahrenheit: 72
72 degrees Fahrenheit is 22.2 degrees Celsius.
Step by Step Solution
3.33 Rating (159 Votes )
There are 3 Steps involved in it
public class Average3 public static void mainString args Scanner keyboard new Scann... View full answer
Get step-by-step solutions from verified subject matter experts
