Answer:
sumExtra=0;
 for(i=0;i<NUM_VALS;i++) // NUM_VALS is 4 declared above already
 {
 if(testGrades[i]>100) //to check if there is extra credit or not
 {
 sumExtra+=(testGrades[i]-100); //only extra credit will added
 }
 }
Step-by-step explanation:
Above is the code segment that needs to be put in the blank.