QUESTION IMAGE
Question
choose the word that makes each sentence true. use a loop when you know you want to make 10 passes through a loop. use a loop when you want to continue passing through a loop until a condition is met.
Brief Explanations
In programming, a for loop is typically used when the number of iterations is known in advance, like making 10 passes. A while loop is used when the loop should continue until a certain condition is false.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
- for
- while