61. Skipping to the next iteration when count is 5 . Console.Write skips 5 because of the continue statement. continue
Editor's Notes
Loops start with testing a condition first: if the condition is false, the loop exits and moves to the next statement. If the condition is true, the loop statements execute and move to the beginning of the loop. This continues until the condition becomes false. Hence this enables the repetition of the loop statements.
This is not a very good approach to solve this problem because …
Let’s compare for loop with the while loop. for loop merges the 3 pieces (initialization, condition and update) of a while loop into one line. This makes loops easier to write and read in one line.
They look very similar and they achieve the exact same result. So you can use any of them. Note the scope of the i is during the for loop only.