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?

a. 40
b. 62
c. 84
d. 100

Let q represent the number of quarters and d represent the number of dimes.

q + d = 124 (equation 1)
0.25q + 0.10d = 25 (equation 2)

We can solve equation 1 for d:
d = 124 - q

Substitute this into equation 2:
0.25q + 0.10(124 - q) = 25
0.25q + 12.4 - 0.10q = 25
0.15q = 12.6
q = 84

So, Xavior had 84 quarters. Therefore, the answer is c. 84.