Answer:
About 152 pieces of candy
Step-by-step explanation:
Set up equal proportions to solve for the $5.99 bag.
We know that 24 pieces = .99, so

Make sure to keep the pieces on top, and the dollars on bottom (or vice versa). If your units are messed up, it will not work.
Cross-multiply.
25(5.99) = .99x
Simplify.
149.75 = .99x
Divide both sides by .99.
x = 151.26 = about 151 pieces of candy