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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started