1. Course
2. Arrays
3. On-screen circumference

# On-screen circumference

Last updated: 8/23/2020 Difficulty: Intermediate

Create a C# program that draws a 360 screen circumference. You must calculate the radians taking into account the formula below. Draw the circumference with a 5 position separation between each point, use `Console.SetCursorPosition`. To calculate the sine and cosine, you can use the mathematical functions `Math.Cos` and `Math.Sin`.

The formula you should use is:

radians = angle * PI / 180

#### Input

#### Output

```                               XXXXXXXX
XX        XX
XX          XX
X            X
X              X
X              X
X              X
X              X
X              XX
X              X
X              X
X              X
X            X
XX          XX
XXX       XX
XXXXXXXX
X```

11 / 11

#### Android App

Practice C# anywhere with the free app for Android devices. #### Exercises C# by difficulty

Learn C# at your own pace, the exercises are ordered by difficulty.