Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace _10.Radians_toDegrees
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("Enter angle in radians: ");
- double rad = double.Parse(Console.ReadLine());
- double deg = (180 / Math.PI) * rad;
- Console.WriteLine("Degrees= " + Math.Round(deg));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement