Question: please solve in c the base template is given 3.30 Lab: Temperature Converter with a Menu The goal of this lab is to create a


3.30 Lab: Temperature Converter with a Menu The goal of this lab is to create a calculator to convert a temperature between different units. Print a menu of temperature units available as either an input or output to the calculator Ask the user for the units of the input temperature Use the unit_input variable to grab a character Ask the user for the desired units of the output temperature Use the unit_output variable to grab a character Ask the user for the input temperature (use prior unit_input character in the print statement) Create a switch/case statement that calculates the Kelvin equivalent of the input temperature o Use the Kelvin Variable to hold the result - Have a case for each input temperature (remember to use single quotes for characters) Create a switch/case statement that calculates the desired equivalent output temperature Convert from Kelvin to desired units Store the result in the output variable Have a case for each output temperature (remember to use 'single quotes for characters) -Display the result Some useful formulas: IKI = [C] + 273.15 [K]= 5/9*([F] +459.67) Iki= 5/9 *[R] An example of the program is displayed below: Ich 29 IK) = 5/9* [F] + 459.67) [K] =5/9* [R] . An example of the program is displayed below: **********TEMPERATURE CONVERSION CALCULATOR ***** ******* Temperature Units****** C) Celsius K) Kelvin F) Fahrenheit R) Rankine Input Temperature Unit (C, E, F, or R) >E Output Temperature Unit (C, K, F, or R)>C Enter Temperature (deg F)>70 RESULT: 70.00F is equal to 21.11C 297498 1584116 LAB ACTIVITY 3.30.1: Lab: Temperature Converter with a Menu main -chi O IT 3 ASUS VivoBook 1 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
