Run ❯
Get your
own C#
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
using System; namespace MyApplication { class Program { static void Main(string[] args) { int points = 0; int round = 0; while (points < 100) { round++; points = points + 30; Console.WriteLine("Round " + round + ": " + points + " points"); } Console.WriteLine("You won after " + round + " rounds!"); } } }
Round 1: 30 points
Round 2: 60 points
Round 3: 90 points
Round 4: 120 points
You won after 4 rounds!