Skip to content

Commit

Permalink
Updates Content/Chapter-2-1-simple-calculations/exercises-simple-calc…
Browse files Browse the repository at this point in the history
…ulations/radians-to-degrees/radians-to-degrees.md

Auto commit by GitBook Editor
  • Loading branch information
Svetlin Nakov committed Mar 21, 2019
1 parent 2be545c commit a36da31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Problem: Console Converter – from Radians to Degrees

Write a program, that reads **an angle in** [**radians**](https://en.wikipedia.org/wiki/Radian) (`rad`) and converts it to [**degrees**](https://en.wikipedia.org/wiki/Degree_\(angle\)) (`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.
Write a program, that reads **an angle in** [**radians**](https://en.wikipedia.org/wiki/Radian) (`rad`) and converts it to [**degrees**](https://en.wikipedia.org/wiki/Degree_%28angle%29) (`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

Expand Down

0 comments on commit a36da31

Please sign in to comment.