Embed presentation
Downloaded 130 times








The document discusses different types of loops in programming - for loops, while loops, and do-while loops. For loops use an initialization, condition, and increment statement to iterate through a code block a set number of times. While loops continuously execute a code block as long as a condition remains true. Do-while loops are similar to while loops but execute the code block at least once even if the condition is false. Examples are provided to demonstrate each type of loop printing out numbers from 10 to 1.






