Program to Convert Temperature from Celsius to Fahrenheit
#include <iostream.h>
#include <conio.h>
int main()
{
float C,F;
cout<<"Enter temperature in celsius= ";
cin>>C;
F=(9*C/5)+32;
cout<<"Temperature in Farenheit= "<<F<<endl;
getch();
return 0;
}
OUTPUT
No comments :
Post a Comment