// Program to illustrate a simple function that returns a float // #include float centigrade(float fahrenheit) // *returns* the degrees centigrade { return (fahrenheit-32.)*5./9.; } void main(void) { cout << "Water freezes at " << centigrade(32.) <<" C\n"; cout << "In winter set your heater at " << centigrade(65.) <<" C\n"; cout << "In Tallahassee it can be " << centigrade(100.) <<" C\n"; }