do-while loop:
•Do-While loop also allow to repeat a statement or a group of statement until the condition is true
•But the block of code execute first and then control is transfer to loop
•Do while executed at least once.
•
•Syntax :
•Do
•Block of statement
•}
No comments:
Post a Comment