/* This program converts a temperature from Fahrenheit to Celsius,
   using function FahrToCelsius() that is stored in library Heat.

   Input:   FahrenheitTemp
   Output:  CelsiusTemp
------------------------------------------------------------------*/

#include <iostream.h>

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

int main(void)
{
   cout << "\nThis program converts a temperature\n"
        << "\tfrom Fahrenheit to Celsius.\n";

   double
      FahrenheitTemp;

   cout << "\nPlease enter a Fahrenheit temperature: ";
   cin >> FahrenheitTemp;

   double
      CelsiusTemp = FahrToCelsius(FahrenheitTemp);

   cout << "\n\t" << FahrenheitTemp
        << " in Fahrenheit is equivalent to "
        << CelsiusTemp << " in Celsius.\n\n";

   return 0;
}  

