ICSE Class 8 Computer Studies
Question 4 of 10
Decision Control Structure — Question 5
Back to all questions 5
Question Question 5
Give one difference between while and do while loop.
| while | do-while |
|---|---|
| It is an entry-controlled loop. | It is an exit-controlled loop. |
| It is helpful in situations where number of iterations are not known. | It is suitable when we need to display a menu to the user. |