Hi @Matgas,
Q1, 2 & 4
NoâŚboth types of loop are limited to the number of iterations they can perform by their conditions. The difference between them is when their conditions are evaluated and how this effects when each loop can be exited:
While loops start by evaluating the condition before executing their code block for the first time. This means that, if the condition is not met from the outset, the loopâs code block will be omitted completely.
In contrast, the conditional expression in do loops is placed after the code block. This means that the code block will always be executed at least once before the loop is exited.
I hope that makes the difference clear.
Keep on learning!