when we have to us while or do while loop
Answers
Answered by
3
Contrast with the while loop, which tests the condition before the code within the block is executed, the do-while loop is an exit-condition loop. This means that the code must always be executed first and then the expression or test condition isevaluated. If it is true, the code executes the body of the loop again.
if u like my answer plz Subscribe my youtube channel motivation wala baba
if u like my answer plz Subscribe my youtube channel motivation wala baba
Similar questions