Wednesday, 24 July 2013

PROGRAM OF TEMPERATURE CONVERSION

//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;
}



No comments:

Post a Comment