Advertisement
veronikaaa86

Radians To Degrees

Oct 17th, 2017
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.40 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace _10.Radians_to_Degrees
  7. {
  8.     class Program
  9.     {
  10.         static void Main(string[] args)
  11.         {
  12.             double rad = 57.29578;
  13.             double radians = double.Parse(Console.ReadLine());
  14.             Console.WriteLine("{0:f2}",radians * rad);
  15.         }
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement