All pastes #495670 Raw Edit

Anonymous

public cpp v1 · immutable
·published 2007-05-18 21:55 UTC
rendered paste body
#include <iostream>using namespace std;int main(){    int cel_to_fah(int);        int temp;    cout << "Enter a temperature in Fahrenheit: ";    cin >> temp;    cout << temp << " degrees Fahrenheit is " << fah_to_cel(temp) << " degrees Celsius.\n";        system("PAUSE");    return EXIT_SUCCESS;}int fah_to_cel(int fahren){    return (fahren - 32) * 1.8;}