//PROGRAM OF TEMPERATURE CONVERSION
/*MADE BY KRISHNA AGARWAL*/
#include<iostream>
using namespace std;
int main()
{
float c,f;
cout<<" enter the temperature in farhenhiet:\t";
cin>>f;
c=(5*(f-32))/9;
cout.precision(3);
cout<<" the temprature in celcius is:\t"<<c;
return 0;
}
/*MADE BY KRISHNA AGARWAL*/
#include<iostream>
using namespace std;
int main()
{
float c,f;
cout<<" enter the temperature in farhenhiet:\t";
cin>>f;
c=(5*(f-32))/9;
cout.precision(3);
cout<<" the temprature in celcius is:\t"<<c;
return 0;
}
No comments:
Post a Comment