In his pocket Sam had $4 composed solely of quarters and nickels. He had a total of 20 coins. How many nickels did he have?

1 answer

5 n + 25 q = 400 cents
n + q = 20

5 n + 25 q = 400 cents
5 n + 5 q = 100
------------------------------- subtract
20 q = 300
etc