1.

Write a program to convert temperature from Celsius to Fahrenheit.

Answer»

#include

using namespace std;

int main()

{

float c,f;

cout<<"Enter the temperature in Celsius:";

cin>>c;

f=1.8*c+32;

cout<<" Degree Celsius "<<f<<"Degree Fahrenheit" ;

}



Discussion

No Comment Found