Computer Science, asked by shlok20062012, 7 hours ago

Which of the following loops will execute the body of loop even when
condition controlling the loop is initially false?

a) do-while

b) while

c) for

d) none of the mentioned

Answers

Answered by AadyaAami
7

Answer:

a)do-while

In some cases, we have to execute a body of the loop at least once even if the condition is false. This type of operation can be achieved by using a do-while loop. In the do-while loop, the body of a loop is always executed at least once. After the body is executed, then it checks the condition.

Hope this will help you❣️

Answered by ace6608
0

Answer:

do-while please mark as brainliest

Similar questions