Computer Science, asked by chinnusupriya2, 3 months ago

explain for loop with example​

Answers

Answered by mnivetha2409
1

Answer:

A loop is used for executing a block of statements repeatedly until a particular condition is satisfied. For example, when you are displaying number from 1 to 100 you may want set the value of a variable to 1 and display it 100 times, increasing its value by 1 on each loop iteration.

Similar questions