Computer Science, asked by shirishkumhar, 3 months ago

dustinguish between for loop and do while loop​

Answers

Answered by lahari60
2

Answer:

loop is going in the origrammebupro condition fails

while loop is if condition satisfies only it executes the prigramme

Answered by harshsawant2232005
2

Answer:

here is your answer hope it helps ☺️

Explanation:

The loop iterates while the condition is true. When the condition becomes false, the program control passes to the line immediately following the loop.

...

Output.

While Loop.

while(condition){ //statement }

Do-While Loop

do{ //statement }

while(condition?

Similar questions