1) Write a menu driven program with suitable options to convert a given temperature from Fahrenheit to Celcius and vice versa. For an incorrect choice, the program should display an appropriate error message.
The formula used to find celcius is : C = 5/9*(F-32)
The formula used to find Fahrenheit is : F = 1.8*(C+32).
Sequence of writing the project work:-
1) Write the Question
2) Program
3) Variable description table
4) Output of the program
java detailed full program
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 1 | 2 | 3 | 4 | 5 |