To find the total number of students who stay for afterschool programs, we need to add the number of students from each grade who reported attending afterschool programs.
From the table:
- 10th grade: 10 students
- 11th grade: 6 students
- 12th grade: 7 students
Now, we add these numbers together:
10 (10th grade) + 6 (11th grade) + 7 (12th grade) = 23 students
Thus, the total number of students who stay for afterschool programs is 23.