Candy

A long time ago, candy was being sold at three prices: red candy at one for a penny, green candy at two for a penny, and blue candy at three for a penny. Some children (as many boys as girls) were given a total of seven pennies to spend on the candy. Each child received exactly the same value in candy. How many pieces of candy and what color candy did each child receive?

Answer

There must have been three boys and three girls, each of whom received two pieces of blue candy priced at three for a penny, and one piece of green candy priced at two for a penny. The total cost of the candy would be exactly 7 cents.Hide