Helen spent $7.75 to purchase 23 snack-sized bags of chips c and pretzels p for a club meeting. The following system represents this solution.
{c+p=23
{0.25c+0.5p=7.75
How many of each type of snack did Helen buy?