Also, your syntax is wrong. The test should be if(testscores[s] == 175 ....
You have an extra 's' in each of your if statements.
And guessing what you are trying to do, I suspect you are checking to see if each value is within a range. You are currently checking that the value equals both the top and bottom values of the range (which it never will). Each of the if statements should be
for(int s= 1; s < 25; s++) {
if(testscores[s] == 200) //this case is different from all other you have
total[7]++;
else
total[ testscores[s] / 25 ] ++ ; //calculating result
}
Calculating the solution, rather than using a lot of if else is much faster.