Design a program should contain a class

Assignment Help Computer Engineering
Reference no: EM132154796

Upon starting the program, the user should be asked if they are an existing member of the "bank".

- If the user indicates that they are not a member, they should be prompted to enter their information for registration.

- If the user is a member they should be prompted to enter their login credentials (username and password).

- If the credentials are incorrect, they should be prompted again or kicked back to the main menu (after three tries?).

- If the credentials are correct, they should be taken to the members' menu where they have the options of

1. view a list of their accounts

2. make a deposit

3. make a withdrawal

4. open a new account

5. close an existing account

6. logout (return to main menu)

After completing one of the actions (except logging out), they should be returned to the members' menu.

Design:

When the program starts, it should load members and accounts from a save file.

When the program exits, it should save members and accounts to a save file.

The program should contain a class for accounts and a class for members.

The account class should contain:

- an id number

- a balance

- a type (String)

- a link to the owner's object

- methods to deposit and withdraw money

- any other variables/methods necessary to the function of the program

The member class should contain:

- an id number

- a username (String)

- a password (String)

- a name

- an array of accounts owned by the member

- any other variables/methods necessary to the function of the program

Reference no: EM132154796

Questions Cloud

Explain all the nonnegative floating point number : Compare the difference of 4 bits IEEE Std 754-1985 similar floating point number representation and the binary number system.
Write a program called that accepts as arguments files : Write a C++ program called that accepts as arguments two files that contain these compressed upper triangular matrices.
Write a program that will open a blastn : Write a program that will open a BLASTN (nucleotide to nucleotide search) output file, parse out specific information.
How many passes would be required to complete the sort : If you were to use a bubble sort to re-sort these elements into descending order, how many passes would be required to complete the sort?
Design a program should contain a class : If the user indicates that they are not a member, they should be prompted to enter their information for registration.
How digital platforms used to increase market penetration : MIK 304 & MEB 301 E-MARKETING STRATEGIES ASSIGNMENT - Give details on how digital platforms can be used to increase market penetration
Write a function called coffee that takes no input variables : Create an M-file named coffee.m and write a function called coffee that takes no input variables and returns no output value.
How cool ninjas and how they would like to become a ninja : Ninja Tactics Now that your friend is one the path to becoming a ninja, it's time for them to learn about some of the sneaky tactics that ninjas employ.
Write a method to remove all of the elements in list : Write a method to remove all of the elements in list of Integers that are less than some target value.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Methods to target certain audience

Recognize a particular website which you frequently go to and explain the targeted audience which visit that particular site. Provide explanation how the site is developed for its certain target audience.

  Define the hoare semantics

Assuming Hansen semantics for condition variables, our implementation of the blocking bounded queue in Figure does not guarantee freedom from starvation.

  Prepare a schedule showing the annual depreciation

Prepare a schedule showing the annual depreciation and end of year accumulated depreciation for the first three years of the assets life under the straight line method, the sum of the years digits method and the double declining balance method.

  Questioninternet protocol standards are devised throughout

questioninternet protocol standards are devised throughout the efforts of thousands of people all over the world --

  Create a program to perform the simulation

Each time a square is touched, the count for that square is incremented. Thus, a non-zero entry in the array shows the number of times bug has landed on the corresponding square. When every square has been touched at least once, the simulation is ..

  Question1 what are three goals of safety in computing for

question1. what are three goals of safety in computing? for each goal list two controls that be able to be implemented

  Determine the coherence bandwidth

A shortwave ionospheric radio channel is characterized by a multipath spread of Tm = 5 ms and a Doppler spread of Bd = 0.1 Hz.

  Demonstrate the ability to assemble already-written classes

CSC151 : Demonstrate the ability to assemble already-written classes into a larger, more complicated program.

  Show total distance traveled and total gas consumed

Allow the user to keep entering data in 5 minute increments until the user has no more data to enter. Show total distance traveled, total gas consumed.

  What are the trends of data warehousing and data mining

What are the trends of data warehousing and data mining

  Do research and write a paper on structured analysis

Nassi-Shneiderman structure charts (yes, that's Ben Shneiderman, before he became famous for his work in HCI).

  Define a utp link test

Draw a picture of properly aligned transmit and receive signal of a computer's data link that is running Ethernet data rates.

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