Xavior took a total of 124 quarters and dimes to trade in for cash at the bank. He got exactly $25 back. How many quarters did he have?%0D%0A%0D%0A%0D%0AA. %0D%0A40%0D%0A%0D%0A%0D%0AB. %0D%0A62%0D%0A%0D%0A%0D%0AC. %0D%0A84%0D%0A%0D%0A%0D%0AD. %0D%0A100

Let's say X is the number of quarters and Y is the number of dimes Xavier had.

From the given information, we can create the following equations:

X + Y = 124 (equation 1, representing the total number of quarters and dimes)
0.25X + 0.1Y = 25 (equation 2, representing the total value of the coins)

To solve for X, we can use substitution or elimination:

From equation 1, we can rearrange it to solve for Y:

Y = 124 - X

Substituting this into equation 2, we get:

0.25X + 0.1(124 - X) = 25
0.25X + 12.4 - 0.1X = 25
0.15X + 12.4 = 25
0.15X = 25 - 12.4
0.15X = 12.6
X = 12.6 / 0.15
X = 84

Therefore, Xavier had 84 quarters.

The answer is C. 84