Sample Outcomes for A03
Return to assignment description
The following are some of the possible outcomes
of running the QuickATM program for A03.
Note that input is represented by blue text with a grey at the end.
The indicates a place where the user presses the enter key.
Balance:
Welcome to the SimpleATM by N. Neveditsin!
Choose an option:
PIN (Enter PIN)
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: BAL
Your balance is: $5000
Thanks for using QuickATM. See you next time!
Deposit:
Welcome to the SimpleATM by N. Neveditsin!
Choose an option:
PIN (Enter PIN)
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: DEP
Enter amount to deposit: $10000
Deposit successful. New balance: $15000
Thanks for using QuickATM. See you next time!
Exit:
Welcome to the SimpleATM by N. Neveditsin!
Choose an option:
PIN (Enter PIN)
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: Exit
Exiting...
Thanks for using QuickATM. See you next time!
Unauthenticated operations:
Welcome to the SimpleATM by N. Neveditsin!
Choose an option:
PIN (Enter PIN)
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: WD
You are not authenticated to perform this operation
Thanks for using QuickATM. See you next time!
Welcome to the SimpleATM by N. Neveditsin!
Choose an option:
PIN (Enter PIN)
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: CP
You are not authenticated to perform this operation
Thanks for using QuickATM. See you next time!
Incorrect PIN:
Welcome to the SimpleATM by N. Neveditsin!
Choose an option:
PIN (Enter PIN)
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: PIN
Please enter your PIN: 1234
Incorrect PIN. Exiting...
Thanks for using QuickATM. See you next time!
Successful WD:
Welcome to the SimpleATM by N. Neveditsin!
Choose an option:
PIN (Enter PIN)
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: PIN
Please enter your PIN: 0923
Authenticated Successfully.
Choose an option:
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: WD
Enter amount to withdraw: $3000
Withdrawal successful. New balance: $2000
Thanks for using QuickATM. See you next time!
WD: Insufficient Funds:
Welcome to the SimpleATM by N. Neveditsin!
Choose an option:
PIN (Enter PIN)
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: PIN
Please enter your PIN: 0923
Authenticated Successfully.
Choose an option:
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: WD
Enter amount to withdraw: $10000
Insufficient funds. Exiting...
Thanks for using QuickATM. See you next time!
Pin Change (Successful):
Welcome to the SimpleATM by N. Neveditsin!
Choose an option:
PIN (Enter PIN)
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: PIN
Please enter your PIN: 0923
Authenticated Successfully.
Choose an option:
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: CP
Enter your new PIN: 1234
PIN successfully changed.
Thanks for using QuickATM. See you next time!
Pin Change (Same PIN):
Welcome to the SimpleATM by N. Neveditsin!
Choose an option:
PIN (Enter PIN)
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: PIN
Please enter your PIN: 0923
Authenticated Successfully.
Choose an option:
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: CP
Enter your new PIN: 0923
PIN unchanged. New PIN should be different from the old one. Exiting...
Thanks for using QuickATM. See you next time!
Invalid Choice:
Welcome to the SimpleATM by N. Neveditsin!
Choose an option:
PIN (Enter PIN)
BAL (View Balance)
WD (Withdraw)
DEP (Deposit)
CP (Change PIN)
Exit
Your choice: BEAN
Invalid choice.
Thanks for using QuickATM. See you next time!
Return to
assignment description