Question: C++ Please Write a program that displays a table of temperature conversions from Celsius to Fahrenheit. The user will enter two values: celsiusStart and celsiusEnd.
C++ Please
Write a program that displays a table of temperature conversions from Celsius to Fahrenheit. The user will enter two values: celsiusStart and celsiusEnd. The program will loop from celsiusStart to celsiusEnd in step of 0.5 degrees and display the equivalent Fahrenheit temperature. If celsiusStart is NOT less-than celsiusEnd, the program will output a message "INVALID DATA" and terminate. All output values should have a precision of two (2) with a data width of eight (8) Note: The Celsius to Fahrenheit conversion value is as follows: F=(9.0/5.0)C+32.0 All inputs and outputs MUST BE PERFORMED IN main(). The temperature conversion MUST BE PERFORMED IN A USER CREATED FUNCTION named CelsiusToFahrenheit(). Example If the inputs are: 8 12 The output would be
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
