# define SIZE 30
using namespace std;
int main()
{
int stud_test[SIZE];
int index_stud;
int r1=0,r2=0,r3=0,r4=0,r5=0,r6=0,r7=0,r8=0;
cout<"please enter="" the="" number="" of="" students:="">"please>
cin>>index_stud;
//input
for(int i=0;i<>
{
cout<"enter the="" marks:="">"enter>
cin>>stud_test[i];
}
for(int i=0;i<>
{
if((stud_test[i]>=0) && (stud_test[i]<=24)>=24)>
r1=r1+1;
else if((stud_test[i]>=25) && (stud_test[i]<>
r2=r2+1;
else if((stud_test[i]>=50) && (stud_test[i]<>
r3=r3+1;
else if((stud_test[i]>=75) && (stud_test[i]<>
r4=r4+1;
else if((stud_test[i]>=100) && (stud_test[i]<>
r5=r5+1;
else if((stud_test[i]>=125) && (stud_test[i]<>
r6=r6+1;
else if((stud_test[i]>=150) && (stud_test[i]<>
r7=r7+1;
else if ((stud_test[i]>=175) && (stud_test[i]<>
r8=r8+1;
}
cout<"number of="" students="" which="" lie="" in="" 00-24:="">"number><><>
cout<"number of="" students="" which="" lie="" in="" 25-49:="">"number><><>
cout<"number of="" students="" which="" lie="" in="" 50-74:="">"number><><>
cout<"number of="" students="" which="" lie="" in="" 75-99:="">"number><><>
cout<"number of="" students="" which="" lie="" in="" 100-124:="">"number><><>
cout<"number of="" students="" which="" lie="" in="" 125-149:="">"number><><>
cout<"number of="" students="" which="" lie="" in="" 150-174:="">"number><><>
cout<"number of="" students="" which="" lie="" in="" 175-200:="">"number><><>
}