Write a simple program for temperature conversion from Fahrenheit to Celsius or from Celsius to Fahrenheit (i.e. can convert either way) with the following requirements:
a. Ask if the input temperature is in F or C. Allow for entry in lower-case, and for the program to exit() if someone types in any other letter .
b. Ask for the input temperature (in just numerals, but allow for decimal points - e.g. allow entry of a number like 72.73))
c. Convert it from F to C, or from C to F as needed, and print out both the input temperature and scale (F, C) and the converted temperature and scale. Round the final output temperature to 2 decimal places.
Provide both source code and the output of the program as it runs.