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;