online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
using System; class HelloWorld { static void Main() { int n=12, sto=100; int [] tab = new int[n]; Random rand = new Random(); for (int i=0; i<tab.Length; i++) { if (i<=3) // 0 1 2 3 { tab[i] = rand.Next(-29,30); } else if (i>=4 && i<=7) // 4 5 6 7 { tab[i] = sto--; } else if (i>=8) // 8 9 10 11 { tab[i] = int.Parse(Console.ReadLine()); } } Console.WriteLine(); foreach (var x in tab) { Console.WriteLine(x); } } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue