C++20 sections · 1024 units
Open in CourseQuiz: Repetition basics
Repetition basics
Check Your Understanding
What is the purpose of a loop?
- A.To declare variables
- B.To end the program
- C.To print output once
- D.To repeat code multiple times
Repetition basics
What is the purpose of a loop?