1. Course
  2. Data types A
  3. Celsius to Kelvin and Fahrenheit

Celsius to Kelvin and Fahrenheit

Last updated: 8/22/2020 Difficulty: Easy

The Celsius scale is centigrade, 100 divisions separate the freezing point from the boiling point of water. On the Fahrenheit scale of Anglo-Saxons, these two points are 180 degrees apart. The Kelvin scale is an absolute scale used in science.

Create a C# program to convert from degrees Celsius to Kelvin and Fahrenheit. Request the user the number of degrees celsius to convert them using the following conversion tables:

  • kelvin = celsius + 273
  • fahrenheit = celsius x 18 / 10 + 32




kelvin= 306
fahrenheit= 91


Data types A

4 / 8

Android App

Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty

Learn C# at your own pace, the exercises are ordered by difficulty.