#include<iostream>
#include<conio.h>
#include<cmath>
using namespace std;
int main()
{ float f,c;
cout<<"Enter temprature is fahrenheit to conver into Celsius"<<endl;
cin>>f;
c=5.0/9.0*(f-32.0);
cout<<"temprature in Celsius = "<<c;
getch();
}
No comments:
Post a Comment