Need to understand how to solve the following question:
You have 50 coins that add up to 1 dollar. What are the possible combinations of pennys, nickels, dimes, and quarters that will satisfy these limits?
P + N + D + Q = 50
.01P + .05N + .10D + .25Q = $1
I know the answers are available online, but I want to know how I would go about solving it. Any suggestions?