Answer:
Sophomore=S
Juniours =J
there are 22 more S than J means,
J=S+22.....................................................................1
total is 48 means
J+S=48
S+22+S=48 (put the value of J here from 1)
2S=48-22
2S=26
S=26/2
S=13
now put the value of S in 1 to find juniours
J=S+22
J=13+22
J=35
so, in the cooking class sophomores are 13 and juniors are 35.
Step-by-step explanation: