33.2k views
4 votes
A(n) ___loop is a special loop that is used when a definite number of loop iterations is required.

O a. for
O b. do...while
O c. else
O d. while

User Medalib
by
2.9k points

1 Answer

4 votes

Answer: A

Step-by-step explanation:

for is used when you're talking in terms of repeating loops for a finite number of times.

do... while is used when describing something to do while a variable is equal to something, else is used when a variable isn't what was defined in a while statement, and while is used when you want something to repeat while a variable is equal to something.

User Berkan
by
3.6k points