Use the table to answer the question.

Preference 7th Graders 8th Graders
Prefers Cats 36 22
Prefers Dogs 8 26
No Preference 2 6
What is the relative frequency of students who prefer dogs who are 7th graders? Round the percentage to the nearest tenth.

To find the relative frequency of 7th graders who prefer dogs, we first need to add up the total number of 7th graders, which is 36 + 8 + 2 = 46.

Next, we divide the number of 7th graders who prefer dogs (8) by the total number of 7th graders (46) and multiply by 100 to find the percentage:
(8/46) * 100 = 17.4%

Therefore, the relative frequency of students who prefer dogs who are 7th graders is 17.4%.