Labsheet 2
Labsheet 2
The user is allowed to choose one of the options by entering the corresponding number. For
option 1, the program should ask the user to input a temperature in Celsius and then display
the equivalent temperature in Fahrenheit. For option 2, the program should ask for a
temperature in Fahrenheit and display the equivalent temperature in Celsius. For option 3,
user should be able to exit from the program.
Formula:
9
C = 𝑐 + 32
5
K = C + 273