// // Program to test "tempCtoF" function. // #include #include // "tempCtoF" function. // Post: Returns the Fahrenheit temperature equivalent to "c" degrees Celsius. int tempCtoF(int c) { return 9*c/5 + 32; } int main(void) { int a; cout << "Enter an integer (degrees Celsius):\n"; cin >> a; cout << a << " degrees Celsius is " << tempCtoF(a) << " degrees Fahrenheit\n"; return EXIT_SUCCESS; }