Answer:
The ratio of cookies to candies is 5 to 4
Step-by-step explanation:
Given that the number of candies is 8 less than the number of cookies.
Since the number of cookies is 40, number of candies is:
40 - 8 = 32
The ratio of cookies to candies is:
40/32 = 5/4
The ratio is 5 to 4