Convert Fahrenheit to Celsius
#include <iostream>
using namespace std;
int main()
{
float feh,cel;
cout << "enter temperature in Fahrenheit : " << endl;
cin >> feh;
cel = (feh-32)*5/9;
cout<<"temprature in celsius:"<<cel<<endl;
}
Convert Fahrenheit to Celsius
#include <iostream>
using namespace std;
int main()
{
float feh,cel;
cout << "enter temperature in Fahrenheit : " << endl;
cin >> feh;
cel = (feh-32)*5/9;
cout<<"temprature in celsius:"<<cel<<endl;
}
0 Comments
Post a Comment