Programming (12th Grade)

What is a loop, and name three types of loops?

A loop is a programming construct that repeats a block of code. Three types of loops are for, while, and do-while.