Problem: Console Converter - from Radians to Degrees

Write a program, that reads an angle in radians (rad) and converts it to [degrees](https://bg.wikipedia.org/wiki/Градус_(ъгъл)) (deg). Look for a proper formula on the Internet. The number π in C# programs is available through Math.PI. Round the result to the nearest integer using the Math.Round(…) method.

Sample Input and Output

Input Output
3.1416 180
6.2832 360
0.7854 45
0.5236 30

Testing in the Judge System

Test your solution here: https://judge.softuni.bg/Contests/Practice/Index/504#9.

results matching ""

    No results matching ""