Hello friends!!!!!

c++ pgr toconvert degree celsius to farheinheat

C++

10/20/20241 min read

#include <iostream>

using namespace std;

int main() {

int c,f;

cout << "Enter a value in degree celsius : "<<endl;

cin >> c;

f = 1.8 * c+32;

cout<<"The value of temperature in farheinheat is "<<f<<endl;

return 0;

}

Output:

Enter a value in degree celsius :

30

The value of temperature in farheinheat is 86

=== Code Execution Successful ===