Write a program which converts a temperature degree between Celsius and Fahrenheit, that is, if the user enters a Celsius, the program computes and displays its equivalent Fahrenheit, and vice versa. The user enters a temperature in the form "17.6 C".
Jun 22, 2019 · fahrenheit = (1.8 * celsius) + 32 celsius = (fahrenheit - 32) / 32 The first one is used to convert a Celsius value to Fahrenheit and the second one is used to convert a Fahrenheit to Celsius. The program will also ask the user to choose the conversion type at first i.e. Fahrenheit to Celsius or Celsius to Fahrenheit.