Answers for "C++ celsius to fahrenheit"

C++
1

C++ celsius to fahrenheit

float cel, far;
    
    cout << "Enter the temperature in Celsius: ";
    cin >> cel;

    far = (cel * 1.8) + 32;      //(°C * 1.8) + 32 = °F

    cout << "The temperature of " << cel << " in Fahrenheit is: " << far;
Posted by: Guest on March-03-2022

Code answers related to "C++ celsius to fahrenheit"

Browse Popular Code Answers by Language