Question: Write a menu driven program with the following choice of submenu items: Enter 1 to convert from Celsius to Fahrenheit Enter 2 to convert from
Write a menu driven program with the following choice of submenu items:
Enter to convert from Celsius to Fahrenheit
Enter to convert from Fahrenheit to Celsius
Select or :
Use a function Celsius which returns Celsius equivalent of a Fahrenheit temperature.
C F
Use a function Fahrenheit which returns Fahrenheit equivalent of a Celsius temperature.
F C
Use the functions above to write a program which converts from Celsius to Fahrenheit
or from Fahrenheit to Celsius and displays the result. Your program should repeat as long
as the user enters or as the choice.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
