C Example Program of   Temperature convert from  Fahrenheit  to Celsius & kelvin


write a c  Program of   Temperature convert from  Fahrenheit  to Celsius  &  Fahrenheit  to Kelvin


Formula converter of temperature 

C= (F-32) /1.8                   // Fahrenheit to Celsius

T(°F) = T(°C) × 1.8 + 32   // Celsius to Fahrenheit

 

K=(F-32)/1.8 + 273.15    // Fahrenheit to Kelvin

T(°F) = T(K) × 9/5 – 459.67   // Kelvin to Fahrenheit

 

K = C + 273.15                            // Celsius to Kelvin

T(°C) = T(K) – 273.15                // Kelvin to Celsius

 

OUTPUT  Fahrenheit to Celsius & Fahrenheit to Kelvin

Enter  Temperature  in Fahrenheit : 0

Celsius = -17.77

Kelvin = 255.37

(Visited 2,221 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *


CAPTCHA Image
Reload Image