0% found this document useful (0 votes)
23 views

For Loop While Loop Do-While Loop: Table 1.1 Features of The Different Loops

The document discusses 3 types of loops - for loop, while loop, and do-while loop. The for loop runs code multiple times based on a condition. The while loop first checks a condition and then executes the code if true. The do-while loop executes code first and then checks the condition.

Uploaded by

Rocky Kaur
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

For Loop While Loop Do-While Loop: Table 1.1 Features of The Different Loops

The document discusses 3 types of loops - for loop, while loop, and do-while loop. The for loop runs code multiple times based on a condition. The while loop first checks a condition and then executes the code if true. The do-while loop executes code first and then checks the condition.

Uploaded by

Rocky Kaur
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

For loop

While loop

Do-while loop

For loop is used in procedural In this loop the program is The code is executed first
programming in order to run the executed after condition is then the loop instruction
condition multiple times.

first checked

Table 1.1 features of the different loops.

is then execute program.

You might also like