Solution 4

 

#include <iostream.h>

#include <stdlib.h>

 

int main()

{

      float temp;

 

      cout << "Enter the temperature in celcius: ";

      cin >> temp;

 

      temp = (temp*9.0/5.0)+32;

 

      cout << "The equivalent temp in fahrenheit is: " << temp << endl;

 

      system("PAUSE");

      return 0;

}

 

Hosted by www.Geocities.ws

1