Final answer:
A for-each loop would be appropriate for printing elements at even indices, printing every element, and printing every even number in an array.
Step-by-step explanation:
A for-each loop would be appropriate for the following tasks:
B. Printing all the elements at even indices of an array. With a for-each loop, you can iterate through the array and print only the elements at even indices.
C. Printing every element in an array. A for-each loop allows you to easily print every element in an array without having to manually index and access each element.
F. Printing every even number in an array of ints. Using a for-each loop, you can iterate through the array and print only the even numbers.
For the other tasks, a different type of loop or approach would be more appropriate.