Python programming: Your job depends on the success of this…
Question Answered step-by-step Python programming: Your job depends on the success of this… Python programming:Your job depends on the success of this application. Therefore, make sure you write clean code and test it thoroughly. Your program must do the following:Display the menu below and get user input. Re-display the menu until the user enters 4. Convert from CelsiusConvert from FahrenheitConvert from KelvinQuit Program If the user enters 1, prompt the user to enter 3 numbers that represent temperatures expressed in degree Celsius. The program must then convert the temperatures to degree Fahrenheit and Kelvin and output them in a table as follows: CelsiusFahrenheitKelvin-10.0014.00263.150.0032.00273.15100.00212.00373.15If the user enters 2, prompt the user to enter 3 numbers that represent temperatures expressed in degree Fahrenheit. The program should then convert the temperatures to degree Celsius and Kelvin and output them in a table as follows: FahrenheitCelsiusKelvin-10.00-23.33249.820.00-17.78255.37100.0037.78310.93If the user enters 3, prompt the user to enter 3 numbers that represent temperatures expressed in degree Kelvin. The program should then convert the temperatures to degree Fahrenheit and Celsius and output them in a table as follows: KelvinFahrenheitCelsius0.00-459.67-273.15100.00-279.67-173.151000.001340.33726.85If the user enters 4, quit the program. Needed conversion formulas: FromTo FormulaCelsiusFahrenheitF = C * (9.0/5.0) + 32CelsiusKelvinK = C + 273.15FahrenheitCelsiusC = (F – 32) * (5.0/9.0)FahrenheitKelvinK = (F + 459.67) * (5.0 /9.0)KelvinFahrenheitF = K * (9.0/5.0) – 459.67KelvinCelsiusC = K – 273.15 Your program must comply with the following constraints:Must declare at least the following 5 functions:main() #main flow of the programgetMenuSelection() #Displays menu and gets user selectionconvertFromCelsius() #From Celsius to the other scales convertFromFahrenheit() #From Fahrenheit to the other scales convertFromKelvin() #From Kelvin to the other scales Computer Science Engineering & Technology Python Programming CSE 332 Share QuestionEmailCopy link Comments (0)


