/* temperature16.cpp converts a temperature from Fahrenheit to Celsius,
 * using function FahrToCelsius() that is stored in library Heat.
 *
 * Input:   tempFahrenheit
 * Output:  tempCelsius
 
************************************************************************
/

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

#include "Heat.h"                    // the library's header file

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 = FahrToCelsius(tempFahrenheit);

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

   return 0;
}  


