Write a c function tconvert with the following definition


Write a C function, tconvert, with the following definition: float tconvert(int towhat, float temp)

If the variable to_what has a value of 1, the function should return the Fahrenheit conversion of the Celsius temp; if 2, the function should return the Celsius conversion of the Fahrenheit temp; and if 3, the function should return the Kelvin conversion of the Celsius temp.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a c function tconvert with the following definition
Reference No:- TGS01358086

Expected delivery within 24 Hours