Since we need to minimize the number of coins and still ensure that we can pay any $ amount, we need to ensure that the single digit values are taken care of AND the number of $10 coins are maximum.
We would definitely need 1 coin each of $1 and $2. If we have these, we can pay 3 amounts i.e. 1, 2 and 3.
But, to pay 4, we can have 1 more coin of $2. With these, we can pay any amount from 1 to 5 but we need a $5 coin to pay for amounts from 6 to 10.
By now, we have 1 coin of $1, 2 coins of $2 and 1 coin of $5 using which we can pay any amounts from 1 to 10. We have a total of 4 coins by now.
Beyond this stage, we just need $10 coins to pay any amount between 10 and 100. Since we already have $10 worth of coins with us, we need another 9 coins of $10.
Therefore, total number of coins = 1 + 2 + 1 + 9 = 13.
The correct answer option is B.
Hope that helps!