// 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;
}
No comments:
Post a Comment