Computer Science, asked by sambhajijadhav9777, 10 months ago

write a C program to convert temperature un centigrade degrees to Kelvin degrees​

Answers

Answered by romanreigns0812
3

Answer:

// CPP program to convert temperature

// from degree Celsius to kelvin

#include <bits/stdc++.h>

using namespace std;

// function to convert temperature

// from degree Celsius to Kelvin

float Celsius_to_Kelvin(float C)

{

return (C + 273.15);

}

// driver function

int main()

{

// variable to hold the

// temperature in Celsius

float C = 100;

cout << "Temperature in Kelvin ( K ) = "

<< Celsius_to_Kelvin(C);

return 0;

}

output -

Temperature in Kelvin ( K ) = 373.15

Answered by anuradharanchi84
0

Answer:

Hy! the answer is below.

Explanation:

multiply the number with

 \frac{9}{5}

then +32

Similar questions