Write a program, which asks for the initial balance K0 and for the interest rate.
The program shall calculate the new capital K1 after one year including the interest.
Extend the program with a while-loop, so that the capital Kn after a period of n years can be calculated.