What idiot would give the clerk both a ten and at twenty when just a twenty would do?
Well, if you happen to have a hundred dollar bill in your wallet, you could give him that too or better yet, just give him all the money in your wallet.
It is really a stupid example. If someone handed me $30 for a $12 purchase, I'd assume that he was a foreigner and didn't understand U.S. currency.