Number of adults = 12
Number of children = 17
Step-by-step explanation:
Step 1:
Let a be the number of adults and c be the number of children
Given that the total admission fees paid is $222
Cost for adults is $10 and cost for children is $6
So we have,
10 a + 6 c = 222
Step 2 :
Total people attending is 29
So, a + c = 29
=> a = 29 - c
Step 3 :
Substituting the value for a in the equation in step 1 ,we have
10( 29-c) + 6 c = 222
290 - 10 c + 6 c = 222
-4 c = 222-290 = -68
=> c = -68/-4 = 17
substituting this value of c in the equation in step 2 we have
a = 29 - 17 = 12
So we have 12 adults and 17 children visiting the zoo.