#Mastery19

Use of loops with while

Loops are used to repeat a bock of code. 

There are three types of loops: for, while, and do..while. Each of them has their specific uses. The next loop is a while loop. The true represents a boolean expresion. If it’s true, the loop will continue doing the same thing.

CC BY 4.0 #Mastery19 by Aurora Alvarado is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.