Question: int [ ] score = { 8 6 , 6 6 , 7 6 , 9 2 , 9 5 , 8 8 } ;

int [] score ={86,66,76,92,95,88};
for (int i = score.Length-1; i >-1; i--)
{
total += score[i];
}
Using the declaration above for score, what is added to total during the first iteration?
Group of answer choices
unknown, because i is not initialized
86,66,76,92 and 95
88
0

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!