# Shehkar pulls 31 coins out of his pocket. each coin is either a dime or a quarter. if he has a total of 5.95, how many dimes does he have?

##### 1 Answer

Jul 20, 2018

#### Answer:

19 quarters, 12 dimes.

#### Explanation:

Let

We can set up a simple pair of equations from the question. We know that the total number of coins is 31, hence

We also know how much they cost, so

We can plug the first equation into the second, replacing d with the formula we got:

Since there are 19 quarters, there must be

We can check this:

19 quarters add up to $4.75. 12 dimes add up to $1.20. Put em together and you get $5.95.