fbinnzhivko

10.RadiansToDegrees

Mar 7th, 2016
191
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 radians = double.Parse(Console.ReadLine());
  8.         var gradus = radians * 180 / Math.PI;
  9.         Console.WriteLine("{0}", Math.Round(gradus));
  10.     }
  11. }
Add Comment
Please, Sign In to add comment