Write a temperature conversion program that asks the user to choose between Celsius-to-Fahrenheit conversion or Fahrenheit-to-Celsius conversion. The user will also have the option to quit the program.
**If an incorrect choice is typed, display an error message and prompt the user to re-enter his/her choice.
** Depending on the choice, use the following formulas accordingly:
_Formula to convert from Celsius to Fahrenheit: 9.0/5.0*C+32.
_Formula to convert from Fahrenheit to Celsius: 5.0*(F-32)/9.0
((I have done the code but to get the calculation to work is a pain in my butt, and i needed help. Why isn't it calculating correctly, did i not declare correctly or am i putting the formula wrong. also need help with when user chooses an incorrect choice and displays and error message and adding a quit to the program.))