Advertisement
M0Hk

RAD to DEG

Sep 17th, 2023
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.34 KB | Software | 0 0
  1. using System;
  2.  
  3. namespace firstLesson
  4. {
  5.     internal class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             double radians = double.Parse(Console.ReadLine());
  10.             double degrees = radians * 180 / Math.PI;
  11.  
  12.             Console.WriteLine(degrees);
  13.                    
  14.          
  15.  
  16.  
  17.  
  18.         }
  19.     }
  20. }
Tags: RAD to DEG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement