English, asked by mallindu854, 1 day ago

what are the different ways to generate a loop in basic programming ?

Answers

Answered by antaragupta69
0

Answer:

  • for loop:- for(conditions) {what to do in loop} loop.
  • while loop :- while{what to do in the loop} condition;loop.
  • do while loop:- do{what to do in loop} while(condition) ;loop.
Answered by HEARTLESSBANDI
1

Explanation:

for loop:- for(conditions) {what to do in loop} loop.

while loop :- while{what to do in the loop} condition;loop.

do while loop:- do{what to do in loop}

while(condition) ;loop.

Similar questions