Now that you know the different types of variables and how to use expressions. Let's see if you can solve the following problem. (hint: what is your algorithm?)
If you have $2000 in a saving account, and the bank offers an annual interest rate of 5%. What is your account balance after 20 years? Please write Java code to define at least two variables, then calculate the ending balance and print it out.