Introduction - If you have any usage issues, please Google them yourself
" Fish Amount treasure" category account balance can record, save, money, interest calculation. This class has a private static member variables profitRate storage " fish scale treasure" of interest rates, you can use a total value of a static member function setProfitRate modify interest rates. Program input is 1 day to day n n consecutive days operating account, the operating account only once a day, or deposit or take interest generated each day is the day before the account balance and the " fish scale treasure" the product of interest , the interest generated on that day will be credited to the account balance, because the account does not exist prior to the first day, the first day must be a new account and deposit money, and the same day there will be no interest on deposit balances. After the program accepts input n-day operations, the requirements in the account balance after completion of the n-th day of operation and output.