B4Coder
0%
LessonAbout 6 min

Chapter 4 · Lesson 3 of 5

03. do-while: at least once

A do-while loop runs its block first and checks the condition after, so it always runs at least once. Ideal for asking until an answer.

Opening the lesson…