Advertisement
Kuncavia

RadianstoDegrees

Sep 6th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.25 KB | None | 0 0
  1. using System;
  2.  
  3. class RadianstoDegrees
  4. {
  5.     static void Main(string[] args)
  6.     {
  7.         var radians = double.Parse(Console.ReadLine());
  8.         var degreess = Math.Round(radians / (Math.PI / 180.0));
  9.         Console.WriteLine(degreess);
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement