📄 expectedoutputbank.txt
字号:
The login ID for teller is: 100
The password for teller is: 100
The teller's name is: George Bailey
The login ID for administrator is: 1
The password for administrator is: 1
The administrator' name is: Mr. Drysdale
The customer's name is: Elvis Presley
The customer's name is: Wile E. Coyote
The account information for customer Elvis Presley is as following:
The checking account number is: 1
The saving account number is: 2
The account information for customer ElWile E. Coyote is as following:
The saving account number is 3
Enter login ID (enter 0 to exit): 100
Enter your password: 100
Choose a teller command:
11. Balance
12. Deposit
99. Quit
Choice: 12
The command being executed is Commands.DepositCommand
Enter the account number: 2
Enter the amount: 700
On date 2400 the amount $700.00 was deposited in the account with number 2.
Choose a teller command:
11. Balance
12. Deposit
99. Quit
Choice: 11
The command being executed is Commands.BalanceCommand
Enter the account number: 2
On date 4800 the balance for account number 2 is $700.00.
Choose a teller command:
11. Balance
12. Deposit
99. Quit
Choice: 99
Enter login ID (enter 0 to exit): 1
Enter your password: 1
Choose an admin command:
11. Balance
12. Deposit
21. Change line of credit
22. Generate month end statements
99. Quit
Choice: 12
The command being executed is Commands.DepositCommand
Enter the account number: 1
Enter the amount: 700
On date 7200 the amount $700.00 was deposited in the account with number 1.
Choose an admin command:
11. Balance
12. Deposit
21. Change line of credit
22. Generate month end statements
99. Quit
Choice: 21
The command being executed is Commands.ChangeLocCommand
Enter the account number: 1
Enter the new line of credit: 1000
On date 9600 the line of credit for the account with number 1 was change to $1000.00.
Choose an admin command:
11. Balance
12. Deposit
21. Change line of credit
22. Generate month end statements
99. Quit
Choice: 12
The command being executed is Commands.DepositCommand
Enter the account number: 1
Enter the amount: 600
On date 12000 the amount $600.00 was deposited in the account with number 1.
Choose an admin command:
11. Balance
12. Deposit
21. Change line of credit
22. Generate month end statements
99. Quit
Choice: 12
The command being executed is Commands.DepositCommand
Enter the account number: 3
Enter the amount: 900
On date 14400 the amount $900.00 was deposited in the account with number 3.
Choose an admin command:
11. Balance
12. Deposit
21. Change line of credit
22. Generate month end statements
99. Quit
Choice: 22
The command being executed is Commands.MonthEndCommand
Transactions for account 1 with owner Elvis Presley:
Date Description of transaction Amount
7200 deposit 700.00
9600 change line of credit to $1000.00 0.00
12000 deposit 600.00
Final balance is $1300.00
The line of credit is $1000.00
Transactions for account 2 with owner Elvis Presley:
Date Description of transaction Amount
2400 deposit 700.00
Final balance is $700.00
Transactions for account 3 with owner Wile E. Coyote:
Date Description of transaction Amount
14400 deposit 900.00
Final balance is $900.00
Choose an admin command:
11. Balance
12. Deposit
21. Change line of credit
22. Generate month end statements
99. Quit
Choice: 99
Enter login ID (enter 0 to exit): 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -