Spocoman

02. Radians to Degrees

Nov 14th, 2021 (edited)
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.30 KB | None | 0 0
  1. using System;
  2.  
  3. namespace RadiansToDegrees
  4. {
  5.     class Program
  6.     {
  7.         static void Main()
  8.         {
  9.             double radians = double.Parse(Console.ReadLine());
  10.             double degrees = radians * 180 / Math.PI;
  11.            
  12.             Console.WriteLine(degrees);
  13.         }
  14.     }
  15.  
Add Comment
Please, Sign In to add comment