A sum of Rs. 8000 will amount to Rs. 8820 in 2 years if the interest is calculated every year. The rate of compound interest is:
a)6%
b)7%
c)3%
d)5%