#include #define debug(x) cerr << x //#define debug(x) using namespace std; float f2c (float f) { float retval; debug ("Input to f2c: " << f << endl); retval = (f-32)/9*5; debug("End of function, return value is " << retval << endl); return retval; } int main() { float fah; float cel; cout << "enter temperature in fahrenheit: "; cin >> fah; cel = f2c(fah); cout << "That's " << cel << " in celsius" << endl; return 0; }