Question: Array scoresList has 1 0 elements with indices 0 to 9 , accessed as scoresList [ 0 ] to scoresList [ 9 ] . 1

Array scoresList has 10 elements with indices 0 to 9, accessed as scoresList[0] to scoresList[9].
1)
Assign the first element in scoresList with 77.
2)
Assign the second element in scoresList with 77.
3)
Assign the last element with 77.
4)
If that array instead has 100 elements, what is the last element's index?
5)
If the array's last index was 499, how many elements does the array have?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!