The calss has a total of 20 students. 5 of the students prefer Sprite, while the rest prefer Coca Cola.
Then the percent of students that prefer Sprite is calculated using the formula:
[tex]\text{percent = }\frac{\text{fraction that prefers Sprite}}{\text{total number of students}}\cdot100=\frac{5}{20}\cdot100=25\text{ \%}[/tex]Therefore, 25% of the students prefer Sprite.