196k views
4 votes
Select the instance when you would use a while loop instead of a for loop.

Printing out a range with a specified starting and end value
Repeating an action as long as a condition is true
Adding up the values in a specified range
Locating a value in a specified range

User AFoglia
by
5.5k points

1 Answer

6 votes

Answer: Repeating an action as long as a condition is true.

Step-by-step explanation:

User Sa Yang
by
5.5k points