looping of arrays

2 examples of looping arrays