C++ Program to convert temperature from degree to fahrenheit [DEVCPP/GCC]


//Program to convert temperature from degree to fahrenheit

#include <iostream>

using namespace std;

int main()
 {
float f,c;
cout<<"ENTER THE TEMPERATURE IN DEGREE CELCIUS:";
cin>>c;
f=(c*9/5)+32;
cout<<"TEMPERATURE IN DEGREE FAHRENHEIT IS:"<<f;
         return 0;
}




Share this

Related Posts

FIND US ON FACEBOOK!