CJCoding With Joseph
← Back to Question List
C# Code Walkthrough #45

A do-while Loop

easyLoops

📄 Code

Read carefully — what does this print?
1int i = 10;
2do
3{
4 Console.WriteLine(i);
5 i--;
6} while (i > 7);

🎯 Your Answer