Answers for "C++ Kelvin to Celsius"

C++
1

C++ Kelvin to Celsius

float cel, kel;
    
    cout << "Enter the temperature in Kelvin: ";
    cin >> kel;

    cel = kel - 273.15; //T(°C) = T(K) - 273.15

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

Code answers related to "C++ Kelvin to Celsius"

Browse Popular Code Answers by Language