write a C program to convert temperature un centigrade degrees to Kelvin degrees
Answers
Answered by
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
0
Answer:
Hy! the answer is below.
Explanation:
multiply the number with
then +32
Similar questions