18 dimes and 6 quarters
1) Let's recall that 1 dime = $0.10 and a quarter is $0.25
2) We can solve this by writing a Linear System of Equations:

Note that the second equation relates the quantities in dollars, 330 cents is the same as $3.30.
2.2) So now let's solve it using the Elimination Method multiplying one of those equations by -0.1:

Let's divide both sides by 0.15:

So we have 6 coins of quarters, now let's plug into the original equation x+y=24 to get the number of dimes:

3) Hence, there are 18 dimes and 6 quarters