Programming (Year 12)
Loops
In which of the following scenarios would you use a while loop?
When you know the number of iterations
When you are iterating over a list
When the number of iterations is unknown
When you want to execute a block of code once