175k views
2 votes
How is a for loop useful when working with arrays

User Bartocc
by
8.1k points

1 Answer

4 votes

Answer: A for loop examines and iterates over every element the array contains in a fast, effective, and more controllable way. This is much more effective than printing each value individually: console.

Step-by-step explanation:

User Stun Brick
by
8.3k points