Question: Write a complete java program to execute of what is asked in each item below: a. Input 8 different names and store it into an
Write a complete java program to execute of what is asked in each item below:
a. Input 8 different names and store it into an array
b. Display all the contents of the array.
c. Display the 2nd , 4th, 6th , and the 8th elements in the array using for loop.
d. Compute the sum of the 2nd , 4th, 6th , and the 8th elements in the array using for loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
