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 after, so it always runs once. Perfect for asking until the answer is right.

Opening the lesson…