Q2. Using a if else staement,write a menu driven program to convert a given temperature from Fahrenheit to Celsius and vice versa. For an incorrect choice,an appropiate error message should be displayed.

  • Enter the Temperature:
  • Enter your choice : Celsius to Fahrenheit
    Fahrenheit to Celsius
  • The required temperature: