Horje
C++ Kelvin to Celsius Code Example
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;




Cpp

Related
do you need inline for template in C++ Code Example do you need inline for template in C++ Code Example
kwakiutl tribe artifacts Code Example kwakiutl tribe artifacts Code Example
cout.flush() in c++ Code Example cout.flush() in c++ Code Example
initialzing a 2d vector in cpp Code Example initialzing a 2d vector in cpp Code Example
fiunction in c++ Code Example fiunction in c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11