/* temperature1.cpp converts a temperature from Fahrenheit to 
Celsius,
 * using the standard Fahrenheit-to-Celsius conversion formula.
 *
 * Input:   tempFahrenheit
 * Output:  tempCelsius
 
*********************************************************************
*/

#include <iostream.h>      	     // cin, cout, <<, >>

int main()
{
   cout << "This program converts a temperature\n"
           "from Fahrenheit to Celsius.\n";

   cout << "\nEnter a Fahrenheit temperature: ";
   double tempFahrenheit;
   cin >> tempFahrenheit;

   double tempCelsius = (tempFahrenheit - 32.0) / 1.8;

   cout << tempFahrenheit << " degrees Fahrenheit is equivalent to "
        << tempCelsius << " degrees Celsius\n";

   return 0;
} 


