Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

choose the word that makes each sentence true. use a loop when you know…

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.

Explanation:

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.

Answer:

  1. for
  2. while