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

1 Expert Approved Answer
Step: 1 Unlock

public class Average3 public static void mainString args Scanner keyboard new Scann... View full answer

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 Java An Introduction to Problem Solving and Progra Questions!