Answer:
Barney got 14 dimes and Betty got 10 quarters.
Explanation:
Since there are only dimes and quarters in the parking meter, the total money must be equal to:

Since Barney got all the dimes and he has four more coins than Betty, then the number of dimes is:

Applying the second expression on the first, we have:


Barney got 14 dimes and Betty got 10 quarters.