Below you can see a draft of a program for a basic temperature converter from Fahrenheit to Celsius and vice versa. You need to finish the program by creating a sort of entry point for the program in the function main.
In this function, you should:
- process the input. The input is a string containing a temperature value and a unit of measurement which are separated by a whitespace character. We already wrote the code that reads the input and creates the variables, but you still need to figure out what the right type is for each of them and convert if necessary;
- call the appropriate function depending on what was given in the input;
- print the converted temperature with the new unit.
Use the examples as a guide.
You do NOT need to call the function main.