The program below generates an array based on user input. Th…
The program below generates an array based on user input. The user specifies both the length of the array and its elements. The program uses a loop to store these elements in the array. Finally, the program displays all the even elements from the array. *There are no partial credits. *Typos are not allowed. 22-1. (3) Fill in the gray box A to determine the length of the array arrEx. _________________________ 22-2. (3) Fill in the gray box B to save the user’s input as elements of the array arrEx. _________________________ 22-3. (4) Fill in the gray box C to find and display the elements that are even numbers. _________________________
Read Details