Question: While the while loop executes the block only when condition becomes true, the do - while loop executes the code first and then the expression
While the while loop executes the block only when condition becomes true, the dowhile loop executes the code first and then the expression or test condition is evaluated. true or false
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
