CSC 270 - Survey of Programming Languages

Assignment #1 - Converting Kelvin to Celsius and Fahrenheit

Due Wednesday, September 6, 2017

The Kelvin temperature scale starts at Absolute Zero, where there is a total absence of heat. 0 degrees Kelvin is -273.15 degrees Celsius.

Similarly, You can convert from Celsius to Fahrenheit by multiplying by 9/5 and then afterward adding 32.

You are going to write a program in C that reads in a temperature in degrees Kelvin and then prints the same temperature expressed in degrees Celsius and degrees Fahrenheit.

[Back to the Assignment List]