x=18
y=24
Step-by-step explanation:
Let the number of boys in the camp = x
Number of girls = y
-----(A)
Total number of students = 42
x+y=42
Putting value of x from A
Putting this value in A and solving for x