Program that reads temperature in Celsius and displays it in Fahrenheit
#include <iostream>
using namespace std;
int main()
{
int celsius, fahrenheit;
cout << "Enter temperature in dgree Celcius ";
cin >> celsius;
fahrenheit = 9* celsius/5 +32;
cout << "Temperature in dgrese FAHRENHET: " << fahrenheit << endl;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int celsius, fahrenheit;
cout << "Enter temperature in dgree Celcius ";
cin >> celsius;
fahrenheit = 9* celsius/5 +32;
cout << "Temperature in dgrese FAHRENHET: " << fahrenheit << endl;
return 0;
}