Reference no: EM133218127
In this progress report, you will be focusing on allowing multiple transactions to be completed by the user. You will include defensive programming and error checking to ensure your program functions like an ATM machine would. The account details for your customer are as follows:
Customer username password saving account Checking account
Robert brown rbrown blue123 $2500.00 $35.00
For this progress report, update the Progress Report 3 Raptor program to allow the user up to 3 attempts to safely log in to their account. After 3 incorrect attempts at entering the user name and password, the program will end. Also, allow the user to make up to a maximum of 3 transactions at a time. After 3 transactions, the program will terminate. After a transaction is completed, the program will update the running balance and give the customer a detailed description of the transaction. A customer cannot overdraft on their account; if they try to withdraw more money than there is, a warning will be given to the customer. Also note that the ATM doesn't distribute or collect coins - all monetary values are in whole dollars (e.g. an integer is an acceptable variable type). Any incorrect transaction types will display an appropriate message and count as a transaction.
1. Deposit (adding money to the account)
2. Withdrawal (removing money from the account)
3. Balance Inquiry (check current balance)
4. Transfer Balance (transfer balance from one account to another)
5. Log Out (exits/ends the program)
Module 3 introduced documenting, specifically, commenting. Documentation is very important for this course and in this field. From this point and moving forward, an expectation is that commenting will be incorporated to all assignments. Both header comments and step comments are encouraged as it will help for logic to be better. Header comments should include the following:
Name of the pseudocode
Author of the pseudocode
Version of the pseudocode and the date of its last revision
Summary/goal of the pseudocode
Variables used with a short description of the variable, as well as the format of the data (e.g. datatype)