discuss various loops with example
Answers
Answered by
3
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.
Loops are of 2 types: entry-controlled and exit-controlled. 'C' programming provides us 1) while 2) do-while and 3) for loop. For and while loop is entry-controlled loops.
Explanation:
HOPE IT HELPS........
Answered by
1
Answer:
Listen janvi 10th ke board exams hone wale hai ky?
Similar questions