Question: JAVA Instructions Temperature Converter Create an application that converts temperature values from Fahrenheit to Celsius. Put the converter in a loop so the user can

JAVA

Instructions

Temperature Converter

Create an application that converts temperature values from Fahrenheit to Celsius. Put the converter in a loop so the user can convert several temperatures without restarting the program.

Console

Welcome to the Temperature Converter

Enter degrees in Fahrenheit: 212

Degrees in Celsius: 100

Continue? (y/n): y

Enter degrees in Fahrenheit: 32

Degrees in Celsius: 0

Continue? (y/n): y

Enter degrees in Fahrenheit: 77.5

Degrees in Celsius: 25.28

Continue? (y/n): n

Specifications

The formula for converting temperatures from Fahrenheit to Celsius is:

c = (f-32) * 5/9

The application should accept decimal entries like 77.5.

The application should format the Celsius temperature to allow for up to 2 decimal places.

Assume that the user will enter valid data.

The application should continue only if the user enters y or Y to continue.

Input

Fahrenheit temperature

Processing

Calculate the Celsius temperature using the formula above

Output

"Degrees in Celsius"

Celsius temperature

Offer user another chance to convert another temperature or to exit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!