Computer Science, asked by girlyvlogs1234, 5 months ago

Short questions:-
1. State one difference between for loop and do -while loop

Answers

Answered by Vanshita1414
15

Explanation:

The for loop do have all its declaration (initialization, condition, iteration) at the top of the body of the loop. Adversely, in while loop only initialization and condition is at the top of the body of loop and iteration may be written anywhere in the body of the loop.

I hope it will help u plz mark my answer as BRAINLIEST ☺☺

can anyone plz follow me?

Similar questions