Mike spent $40 at the music store. He bought a cd for $20 and some cassettes for $4 each. How many cassettes did mike buy?

To find out how many cassettes Mike bought, we can subtract the cost of the CD from the total amount he spent.

Let's subtract $20 (cost of the CD) from $40 (total amount spent) to find out how much he spent on cassettes:

$40 - $20 = $20

Now, we need to figure out how many $4 cassettes can be purchased with $20.

We can divide $20 by $4 to find the number of cassettes:

$20 ÷ $4 = 5

Therefore, Mike bought 5 cassettes.