Bao was given $\$1,\!000$ for his birthday. He decided to invest the money in a bank account that earns $10\%$ interest, compounded annually. In dollars, how much total interest will Bao have earned 3 years later?