Alex puts $2000 in a saving account.After 4 years, she had $2543 in the account. What rate of interest did she earn? Use the formula A=Pe^rt, where A is the ending amount, P is the principal (initial amount), r is the interest rate, and t is time.
A. 24%
B. 12%
C. 6%
D. 8%