Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Java program that allows users to convert temperatures from Celsius to Fahrenheit and Kelvin. The program also evaluates whether the converted Fahrenheit temperature
Write a Java program that allows users to convert temperatures from Celsius to
Fahrenheit and Kelvin. The program also evaluates whether the converted
Fahrenheit temperature indicates a normal body temperature, a fever, or if it's
slightly elevated. Your task is to analyze the provided code, run it and then
enhance it based on the requirements below.
The user will be given an option to select option or or
If the user selects option then the user will need to enter the Temperature in
Celsius
Convert it to Fahrenheit
Fahrenheit Celsius
Then Evaluate the temperature:
deg F to deg F is considered normal.
Above deg F is considered a fever.
Other values are considered slightly elevated.
If the user selects option then the user will need to enter the Temperature in
Celsius
Conver to Kelvin
Kelvin Celsius
If the user select option
Displays a message thanking the user for their time as shown on the Sample
Run
Invalid option. If the user selects any other number, display an error message
as shown on the Sample Run
Sample Run:
First Name Last Name
Enter your options or :
: Convert Celsius to Fahrenheit
: Convert Celsius to Kelvin
: Exit
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