In a class of 80 students, 40 bring their textbooks to class, 20 bring some sort of beverage

to class, 60 bring calculators to class, while 5 students bring nothing to class. If 30 students
bring both their textbooks and calculators to class, how many students bring only a beverage
to class?

To solve this problem, we can use the principle of inclusion-exclusion.

First, we need to find the number of students who bring only a beverage to class. To do this, we subtract the number of students who bring both their textbooks and calculators from the total number of students who bring their beverage.

The number of students who bring both their textbooks and calculators is given as 30.

Therefore, to find the number of students who bring only a beverage to class, follow these steps:

1. Subtract the number of students who bring both their textbooks and calculators from the total number of students who bring their beverage:
20 (total students who bring a beverage) - 30 (students who bring both textbooks and calculators) = -10

However, it doesn't make sense to have a negative number of students. This suggests that there might be an error in the given information or the problem itself.

Please double-check the values provided or provide any additional information if you have it, so that I can assist you further.