Thursday, 8 May 2014

Write a program which accept temperature in Farenheit and print it in centigrade.

Leave a Comment

Write a program which accept temperature in Farenheit and print it in centigrade.

#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
    float Centigrade,f;
    cout<<"Enter temperature in Farenheit ";
    cin>>f;
    Centigrade=5*(f-32)/9;
    cout<<"Centigrade is = "<<Centigrade;
    getch();
}
If You Enjoyed This, Take 5 Seconds To Share It