#include using namespace std; double c2f(double celsius, bool debug=false) { // Precondition: 0 < celsius < 100 if (debug) cout << "Input for celsius was: " << celsius << endl; double f = (celsius/5.0)*9.0+32.0; // postcondition: 0 < f < 200 if (debug) cout << "Return for fahrenheit is: " << f << endl; return f; } int main() { double c,f; cout << "How many celsius? "; cin >> c; f = c2f(c); cout << "This is " << f << " fahrenheit" << endl; return 0; }