Implement a simple automated bank registry system

Assignment Help Basic Computer Science
Reference no: EM13763426

Implement a simple automated bank registry system. The implementation will include several attributes related to a transaction, and the data will be managed in a global linked list within memory. The program must use the "list" API in the C++ standard template library. All of the attributes associated with each transaction will be stored as a single object within a global linked list data structure. The program must implement at least one class that will hold the following variables:

transId - An integer for the transaction ID that consists of a number starting at 1000 for the first transaction in the linked list and automatically incremented by 1 for each subsequent transaction entered into the linked list. The user will not enter this number. date - A string for the date of the transaction. The date must be in the form mm/dd/yyyy. The program must re-prompt the user to reenter the date if it is not a valid form.

description - A string variable to indicate the description of the transaction (spaces between words must be allowed).

payment - A double variable to indicate a transaction payment or deduction from the account. A value of 0 if the transaction is not a payment.

deposit - A double variable to indicate a transaction deposit or addition to the account. A value of 0 if the transaction is not a deposit.

Provide the appropriate accessor methods to set and get the data for each of these class variables.

For example setDate(string date) and getDate(). In addition, the main program must provide the following functionality:

1. When the program is first started, it must read a data file called registry.dat. The program should not prompt the user for the name of the data file. If the file exists, the program will load the data for each transaction into the global linked list data structure.

If the file does not exist, the program will start with an empty linked list.

2. The program should provide a simple text-based user interface similar to the Book Inventory example that manages the all of the transactions within the global linked list.

Each transaction must be placed in this global linked list as an object that holds all of the information associated with the given transaction. The user interface will allow the user to do the following

(a) Display Registry - displays all of the transactions in the global linked list. This feature will display all of the fields associated with the each transaction. In addition it must also print the total number of transactions, the total amount in payments, the total amount deposits, and the total balance, which can be calculated as follows

Reference no: EM13763426

Questions Cloud

Essay on should the affordable care act be repealed : A 3 paged essay on (Topic: Should the Affordable Care Act be repealed?). essay formatt introduction to topic, pro, cons, own opinion
Provide example of ethical issue that company face regularly : Provide an example of an ethical issue that companies face regularly. In your opinion, what is the best way a company could address the issue you provided?
Is law itself a contradiction : Is law itself a contradiction? Are there laws that are privy to unethical behavior? Do you think that precisely what a law is supposed to protect, it causes
Farkas rights concerning his employment termination : The enforceability of the promise of the $50 bonus. The enforceability of the $100 bonus. Farkas' rights concerning his employment termination
Implement a simple automated bank registry system : Implement a simple automated bank registry system. The implementation will include several attributes related to a transaction, and the data will be managed in a global linked list within memory.
Public and community health issues : Identify the demographics and effect of the issue or disease on the community.
Summarize bellamys treatment of component of citizenship : Summarize Bellamy's treatment of one of the principal components of citizenship (membership, rights and participation). Treat both the conceptual and historical dimensions of his discussion.
What were the solutions used to address the problem : What were the solutions used to address the problem and Do you feel the solution or approach used appropriate for the cause
Database administrator for department store : The Strayer Oracle Server may be used to test and compile the SQL Queries developed for this assignment. Your instructor will provide you with login credentials to a Strayer University maintained Oracle server.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd