Q4
Single choice
You need an algorithm that must:
.Iterate through an array of primitive integers
.
Print the value of each array element in index order If the value of the element is equal to 10, print the value of the element, and then terminate the iteration Which method correctly implements the algorithm?