The number of peanuts sold is 140 and the number o cotton candies sold is 40.
$4c + $2.5p = $460 equation 1
c + p = 160 equation 2
Where:
c = cotton candy
p = peanuts
Multiply equation 2 by 4
4c + 4p = 640 equation 3
Subtract equation 1 from equation 3
$1.50p = 180
p = 120
120 + c = 160
c = 160 - 120
c= 40
To learn more about simultaneous equations, please check: https://brainly.com/question/25875552