To find out how many students stay for afterschool programs, we can sum the afterschool program responses across all grades from the table.
- For 10th grade: 10 students
- For 11th grade: 6 students
- For 12th grade: 7 students
Now, we add these values together:
10 (10th) + 6 (11th) + 7 (12th) = 23 students
Therefore, the total number of students who stay for afterschool programs is 23.