there are 30 students in math class.12 belong to the computer lab,and 8 belong to the photography club. 3 belong to both clubs. how many belong to neither??

please help i am confused
thank you..... :)

number( computer OR photo_

= number(computer) + number(photo) - number(computer AND photo)
= 12 + 8 - 3 = 17

That leaves 13 in neither of the clubs.

Add 12, 8, and three and see what is left over. The left over is the answer.

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

1. Start by adding the number of students in each group: 12 (computer lab) and 8 (photography club).
Total = 12 + 8 = 20

2. Subtract the number of students who belong to both clubs (this prevents double-counting): 20 - 3 = 17

3. Subtract the number of students who belong to neither club by subtracting from the total number of students (30) the number of students who belong to either club:
Neither = 30 - 17 = 13

Therefore, there are 13 students who belong to neither the computer lab nor the photography club.

To find the number of students who belong to neither the computer lab nor the photography club, we can use the Principle of Inclusion-Exclusion.

Step 1: Start by adding the number of students who belong to each club individually: 12 (computer lab) + 8 (photography club).

Step 2: Subtract the number of students who belong to both clubs since we counted them twice in Step 1: 3 (both clubs).

Step 3: Now, subtract the result from Step 2 from the total number of students in the math class, which is 30.

Let's calculate:
Total students = 30
Number of students in the computer lab = 12
Number of students in the photography club = 8
Number of students in both clubs = 3

Number of students who belong to neither = Total students - (Students in computer lab + Students in photography club - Students in both clubs)

Number of students who belong to neither = 30 - (12 + 8 - 3)
= 30 - (20 - 3)
= 30 - 17
= 13

Therefore, 13 students belong to neither the computer lab nor the photography club.