B. Alex Bridges and Miriam Becker CPSC-451, Summmer 1999 Project 1: Account Maintenance Please choose one of the following commands: o -- open new account t -- transactions on existing account c -- close an account Enter a Letter - [o,t,c]? c Sorry, but no accounts are avaible at this time. Type 'yes' when you are ready to continue . . . yes Please choose one of the following commands: o -- open new account t -- transactions on existing account c -- close an account Enter a Letter - [o,t,c]? o Please enter your first and last name: John Doe Please enter the amount of your intial deposit: 123.45 Congratulations John Doe on opening a new checking account. Your account currently has $123.449997. Your assigned A.M. bank account number is '10000' Please save this number for future reference. Type 'yes' when you are ready to continue . . . yes Please choose one of the following commands: o -- open new account t -- transactions on existing account c -- close an account Enter a Letter - [o,t,c]? t Please enter the number of the account: 10000 Searching for account number '10000' . . . COMPLETED! The account number for John Doe was found and is now being referenced. Please choose one of the following commands: d -- deposit w -- withdraw i -- inquire balance g -- go back go the previous menu Enter a Letter - [d,w,i,g]? d Please enter the amount of your deposit: 100 Deposit completed successfully. Type 'yes' when you are ready to continue . . . yes Please choose one of the following commands: d -- deposit w -- withdraw i -- inquire balance g -- go back go the previous menu Enter a Letter - [d,w,i,g]? i The account number for John Doe was found and is now being referenced. The current balance is $223.449997 Type 'yes' when you are ready to continue . . . yes Please choose one of the following commands: d -- deposit w -- withdraw i -- inquire balance g -- go back go the previous menu Enter a Letter - [d,w,i,g]? w Please enter the amount of your withdrawl: 250 Insufficient funds to handle your request. A $10 overdraft fee was applied. Type 'yes' when you are ready to continue . . . yes Please choose one of the following commands: d -- deposit w -- withdraw i -- inquire balance g -- go back go the previous menu Enter a Letter - [d,w,i,g]? i The account number for John Doe was found and is now being referenced. The current balance is $213.449997 Type 'yes' when you are ready to continue . . . yes Please choose one of the following commands: d -- deposit w -- withdraw i -- inquire balance g -- go back go the previous menu Enter a Letter - [d,w,i,g]? w Please enter the amount of your withdrawl: 210 Withdrawl completed successfully. Type 'yes' when you are ready to continue . . . yes Please choose one of the following commands: d -- deposit w -- withdraw i -- inquire balance g -- go back go the previous menu Enter a Letter - [d,w,i,g]? i The account number for John Doe was found and is now being referenced. The current balance is $3.449997 Type 'yes' when you are ready to continue . . . yes Please choose one of the following commands: d -- deposit w -- withdraw i -- inquire balance g -- go back go the previous menu Enter a Letter - [d,w,i,g]? w Please enter the amount of your withdrawl: 5 Insufficient funds to handle your request. The account was zeroed out to cover a $10 overdraft fee. Type 'yes' when you are ready to continue . . . yes Please choose one of the following commands: d -- deposit w -- withdraw i -- inquire balance g -- go back go the previous menu Enter a Letter - [d,w,i,g]? i The account number for John Doe was found and is now being referenced. The current balance is $0.000000 Type 'yes' when you are ready to continue . . . yes Please choose one of the following commands: d -- deposit w -- withdraw i -- inquire balance g -- go back go the previous menu Enter a Letter - [d,w,i,g]? g Please choose one of the following commands: o -- open new account t -- transactions on existing account c -- close an account Enter a Letter - [o,t,c]? c Please enter the number of the account: 999 Searching for account number '999' . . . COMPLETED! Sorry, but the account number was not found and therefore could not be closed. Type 'yes' when you are ready to continue . . . yes Please choose one of the following commands: o -- open new account t -- transactions on existing account c -- close an account Enter a Letter - [o,t,c]? c Please enter the number of the account: 10000 Searching for account number '10000' . . . COMPLETED! The account number for John Doe was found and is now being closed. Type 'yes' when you are ready to continue . . . yes