Answer:
24 students 1 soda and 6 candy bar each
Explanation:
number of snack size candy bars= 144
number of sodas= 24
now GCD of (24, 1 44)= 24 and LCM of (42,144)= 144
thus 24 students will get both candy bars and soda.
these 24 students will get
=1 soda and
= 6 candy bars each
we require greatest common factor in this case to the number of students that receive both candy and soda