11
What is the output of the following program?
int i = 10;
do { i++; } while (i < 5);
Console.WriteLine(i);DiscussEasy
Loading subject content…
Loading practice questions…
What is the output of the following program?
int i = 10;
do { i++; } while (i < 5);
Console.WriteLine(i);What is the output of the following program?
int count = 0;
for (int i = 0; i < 3; i++)
for (int j = 0; j < 2; j++)
count++;
Console.WriteLine(count);What is the output of the following program?
for (int i = 0; i < 10; i += 4) Console.Write(i + " ");What is the output of the following program?
for (int i = 3; i > 0; i--) Console.Write(i);What is the output of the following program?
int i = 0;
while (true) { if (++i == 3) break; }
Console.WriteLine(i);