Question

In: Computer Science

Create in raptor In this progress report, you will be focusing on setting up accounts for...

Create in raptor

In this progress report, you will be focusing on setting up accounts for multiple users. You will include defensive programming and error checking to ensure your program functions like an ATM machine would. The account details for your customers are as follows:

Customer UserName Pass Savings Checking

Rober Brown rbrown blue123 2500.00 35.00

Lisa White lwhite Red456 500.00 1250.00

Mark Black mblack Green789 750.00 200.00

For this progress report, update the Progress Report 4 Raptor program to allow one of the above users at a time to safely log in to their account, complete a maximum of 3 transactions, and end the program. Three incorrect attempts at entering the user name and password will end the program. 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)

Solutions

Expert Solution


Related Solutions

Using RAPTOR Create a flowchart and create the pseudocode for the following question Le Chef Heureux...
Using RAPTOR Create a flowchart and create the pseudocode for the following question Le Chef Heureux Restaurant has 20 tables that can be reserved at 5 p.m., 7 p.m., or 9 p.m. Design a program that accepts reservations for specific tables at specific times; the user enters the number of customers, the table number, and the time. Do not allow more than four guests per table or invalid table numbers or times. If an attempt is made to reserve a...
You are considering setting up a software development business.   To set up the enterprise you will...
You are considering setting up a software development business.   To set up the enterprise you will need to buy equipment costing $100,000. This equipment will be depreciated straight line over 5 years to a zero salvage value. Its market value at the end of the 5 years will be zero.   You will need to rent space at $5,000 per year for the five years of the project. You will also need to hire 5 software engineers at $50,000 each, per...
You are preparing an equity research report focusing on Mattel (a major toy manufacturer). You identify...
You are preparing an equity research report focusing on Mattel (a major toy manufacturer). You identify the following from Mattel’s most recent financial statements. Return on Equity (ROE)                          .12 Dividends                                               $288 Accounts Payable                                  $900 Average Days Payable                              33 Total Liabilities                                    $5,000 Retention Ratio                                      0.60 Profit Margin                                            .05 Tax Rate                                                   .24 a. Conduct a three-stage ROE Decomposition (DuPont Analysis) for Mattel b. As you are explaining how to conduct the ROE Decomposition, your assistant...
You are preparing an equity research report focusing on Mattel (a major toy manufacturer). You identify...
You are preparing an equity research report focusing on Mattel (a major toy manufacturer). You identify the following from Mattel’s most recent financial statements. Return on Equity (ROE)       .12 Dividends  $288 Accounts Payable $900 Average Days Payable   33 Total Liabilities $5,000 Retention Ratio  0.60 Profit Margin       .05 Tax Rate      .24 a. Conduct a three-stage ROE Decomposition (DuPont Analysis) for Mattel. b. As you are explaining how to conduct the ROE Decomposition, your assistant asks, “Because increasing the equity multiplier will increase the return on equity...
Write your instructor an informal memo-style progress report explaining your long-report related progress and include a...
Write your instructor an informal memo-style progress report explaining your long-report related progress and include a work plan. In your report, you will state your current, tentative audience profile, problem, purpose statement, report on your sources and provide a rough outline and Work Plan.
Using RAPTOR create a program that allows the user to input a list of first names...
Using RAPTOR create a program that allows the user to input a list of first names in on array and last names into a parallel array. Input should be terminated when the user enters a sentinel character. the output should be a list of email address where the address is of the following form: [email protected]
This week, you will apply the ACE process to complete a Progress Report. The Human Resources...
This week, you will apply the ACE process to complete a Progress Report. The Human Resources Director at your company has taken the research concerning preparedness very seriously. To make certain your company's employees are strong business communicators, the company has invested in a year-long project to provide on-the-job training for its employees to increase business communication skills. You are required to provide the Human Resources office with quarterly updates. Write a one-page, single spaced Progress Report in Memo format...
You are the founder, CEO, of a new company and are responsible for setting up a...
You are the founder, CEO, of a new company and are responsible for setting up a corporation. Please discuss the following: How you would ideally like to structure your company (pick an industry to describe and a product or service). Also, what type of corporate governance mechanisms would put in place. What kind of culture you would like to have and why? Discuss how you would recruit, train, and maintain employees and if you would reward people individually or for...
The financial statements report the financial health and progress of a company. Select a financial report...
The financial statements report the financial health and progress of a company. Select a financial report from online and explain what information it provides for decision making.
If you are conducting a personal project in progress, create a questionnaire using Google Forms for...
If you are conducting a personal project in progress, create a questionnaire using Google Forms for research on the products you sell (market research content related to the project on any topic, such as consumer perception of the product, satisfaction, etc.).
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT