Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Conversion
- {
- static void Main()
- {
- Console.WriteLine("Enter the degrees in celsius");
- int celsius = int.Parse(Console.ReadLine());
- Console.WriteLine("Kelvin = {0}", celsius + 273.15);
- Console.WriteLine("Fahrenheit = {0}", celsius * 18 / 10 + 32);
- }
- }
Add Comment
Please, Sign In to add comment