07. Explain do while loop
The do while
loop is a variation of the while
loop with the difference that the loop is executed at least once even when the condition is false.
Syntax:
Note: There is a semi-colon at the end of the loop unlike other looping constructs.
Previous06. Create a calculator using if, else, while and switchNext08. Pre-increment & post-increment MCQ
Last updated