#include #include "CPstring.h" // Name: Susan Rodger // // Date: 1/25/96 // // Purpose: To convert temperatures void FahrIntConv(int temp) // Convert integer Fahrenheit temp to Celcius { cout << temp << " = " << (temp - 32) * 5/9 << " Celcius" << endl; } void FahrDoubConv(double temp) // Convert double Fahrenheit temp to Celcius { cout << temp << " = " << (temp - 32) * 5.0/9.0 << " Celcius" << endl; } main() { int ifahr; double dfahr; cout << "Enter a Fahrenheit temp (integer): "; cin >> ifahr; FahrIntConv(ifahr); cout << "Enter another temp (double): "; cin >> dfahr; FahrDoubConv(dfahr); }