Question: in c++, only solution code pls and thank u Define a private helper function called ConvertToFahrenheit() that converts the data member celsius to Fahrenheit and
in c++, only solution code pls and thank u
Define a private helper function called ConvertToFahrenheit() that converts the data member celsius to Fahrenheit and returns a double.
Ex: If the input is 138.0, then the output is:
280.4 degrees Fahrenheit Note: The equation to convert from Celsius to Fahrenheit is: fahrenheit = (celsius * 1.8) + 32
#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
