contestada

A drink costs 3 dollars and a sandwich costs 5 dollars. You buy 10 items (some combination of drinks and sandwiches) and you spend 42 dollars.How many of each item did you buy?