Question: Create a program using C++ (microsoft visual studios 2013) with comments that allows a user to enter a temperature and whether the temperature is stated

Create a program using C++ (microsoft visual studios 2013) with comments that allows a user to enter a temperature and whether the temperature is stated in celsius or fahrenheit or whether you want to convert celsius to fahrenheit or fahrenheit to celsius. If the given temperature is celsius main() should call a method called convertToFahrenheit() to convert and return the new fahrenheit equivelant temperature. If the given temperature is in fahrenheit main() should call a method called convertToCelsius() and return the new celsius equivelant temperature. Either way display the converted temperature and some output comments with it. Be sure to check your formulas and make sure they work. Have the user enter a number such as 1 to convert celsius to fahrenheit and 2 to convert fahrenheit to celsius.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!