|
Fill in the blanks in this line of code so that the elements of the array are visited from the last element down to element 0: A good answer might be:
for ( int index= egArray.length-1 ; index >= 0 ; index-- ) | |
Reading in Each ElementHere is a program that prompts the user and reads in each element. For now, the array is required to be five elements long. After the array is filled with data, the array is written to the monitor.
Usually the program would have something in the middle to do "something" to the data. This would usually involve more loops. | |
QUESTION 4:Fill in the blanks so that the program works as described. Click Here after you have answered the question |