Question: Write a program with a function named convert_temp: The function takes the address of a variable of type double and applies Centigrade-to-Fahrenheit conversion. A variable
Write a program with a function named convert_temp: The function takes the address of a variable of type double and applies Centigrade-to-Fahrenheit conversion. A variable that contains a Centigrade temperature should, after the function is called, contain the equivalent Fahrenheit temperature. Test the func- tion. (Hint: The relevant formula is F = (C * 1.8) + 32.)
c++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
