*** Bank Balance Helper ***
Enter beginning balance: 100
Transaction 1 (0 to end): 200
Transaction 2 (0 to end): -50
Transaction 3 (0 to end): 20.75
Transaction 4(0 to end): 0
*** Transaction Report ***
Beginning balance is 100
Transaction 1: Deposit 200, giving balance of 300
Transaction 2: Withdrawal of 50, giving balance of 250
Transaction 3: Deposit of 20.75, giving balance of 270.75
Number of deposits: 2
Total deposits: 220.75
Number of withdrawals: 1
Total withdrawals: 50
Current Balance: 270.75
Make the array hold exactly 10 floating-point numbers (This includes the beginning values). If the array fills, the program should automatically display the transaction report. If the balance goes below zero, display a warning message for that transaction, but allow the balance to be negative.
hint: Make an array size of 10 to store the every transaction data, use the do_while or other loop to ask users prompt the input. Then create three method
for deposit, withdrawal and also display report. The report will be display whenever user enter 0 or user has made 10 times transactions.




先给人家insert 东西 Input stream 还是什么 FOR LOOP 解决如果user 100 笔资料, 那么就当 n < input_total 就一直+++++ 下去咯。