Searching...

Temperature Conversion

16:01

// Convert Temperature from Fahrenheit To Centigrade
#include <iostream>
using namespace std;
int main ()
{
double Fahrenheit,centigrade;
cout << "Enter temp in Fahrenheit:"<<endl;
cin >> Fahrenheit;
centigrade=5*(Fahrenheit-32)/9;
cout << "Temp in centigrade is = "<< centigrade <<endl;
return 0;
}

0 comments:

Post a Comment

Thanks For Your FeedBack....