Create a C++ program that converts user input Fahrenheit to Celsius. Must use the formula Celsius = (Fahrenheit - 32)* 5.0/9.0. output must be floating point with 2 digits of precision. Output must be displayed with positive or negative sign. Program must ask user to continue or not and use Do while, or If..then else statement.
What did you come up with?
I have a basic conversion code already. I am having trouble with how do I add in for it to include the positive or negative symbols, how to make it within two digits of precision, and the option to continue with a do.. while or if...then statement. I am very new to this and am trying to understand it. I can get the basics but adding in all this extra stuff is giving me problems. I have attached my code so far. This is what I have that actually runs with no errors. I already deleted out my mistakes from trying to add in the extra functions. It is copy and pasted into a WORD document. Any suggestions would be helpful thank you!
UPDATE: I figured it all out thanks to hours and hours of YouTube videos. Thank you.
Join our real-time social learning platform and learn together with your friends!