cpp program to convert temperature in celsius to fahrenheit
Source Code:
#include<iostream>
using namespace std;
int main()
{ float f,c; cout<<"Enter the temperature in celsius: "; cin>>c; f=(c*1.8)+32; cout<<"The temperature in fahrenheit: "<<f; return 0;
}
No comments:
Post a Comment