fbinnzhivko

09.CelsiusToFahrenheit

Mar 7th, 2016
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.23 KB | None | 0 0
  1. using System;
  2.  
  3. class Program
  4. {
  5.     static void Main()
  6.     {
  7.         var gradus = double.Parse(Console.ReadLine());
  8.         var celsisum = gradus * 1.80000 + 32;
  9.  
  10.         Console.WriteLine("{0:0.00}", celsisum);
  11.     }
  12. }
Add Comment
Please, Sign In to add comment