I need help please. I tried so many times but cab't figure out how to do it!!!
Write a program that prompts for and reads a floating point number and a letter. If the letter following the number is F, the program is to treat the number entered as a temperature in degrees Fahrenheit, convert the number to equivalent degrees Celsius, and display both temperatures. If the letter following the number is C, the program is to treat the number entered as a temperature in Celsius, convert the number to the equivalent degrees Fahrenheit, and display both temperatures. Note: You may assume that the user will enter an F or a C for the letter.