**A bank accepts fixed deposits for 1 year or more and the policy it adopts on interest as follows
Q1) if the deposit is less than $2000 and for two or more years interest rate is 5% compounded annually
Q2) if the deposit is $2000 or more but less than $6000 and for 2 or more years , the interest rate is 7% compounded annually.
Q3) If a deposit is more than $6000 and is for 1 year or more , the interest rate is 8% compounded annually.
Q4)On all deposits for 5 years or more, interest is 10% compounded annually .
Q5) On all other deposits not covered by above conditions, the interest is 3 percent compounded annually .
Given the amount deposited and the number of years , write a program to calculate the money in the customer’s account at the end of the specified time.
**

**strong text**