give an example of a loop that is to be executed a certain number of times.ch 4 CS class 11
Answers
Answered by
2
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.
follow me
Answered by
26
Answer:
Loops are control structures used to repeat a given section of code a certain number of times or until a particular condition is met. Visual Basic has three main types of loops: for.. next loops, do loops and while loops.
Explanation:
Its A[]es[]a ✌
Similar questions