Question
I need help with creat ing an application that converts temperature values from Fahrenheit to Celsius. Console Welcome to the Temperature Converter Enter degrees in
I need help with creat ing an application that converts temperature values from Fahrenheit to Celsius.
ConsoleWelcome 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
SpecificationsThe 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started