Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Progress Report 4: In this progress report, you will be focusing on allowing multiple transactions to be completed by the user. You will include defensive

Progress Report 4:

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:

image text in transcribed

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 doesnt 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)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 2 Lnai 6322

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

364215882X, 978-3642158827

More Books

Students also viewed these Databases questions