diff_months: 21

CSE1322L: Creating Software for the World's Smallest Bank - Management Assignment Help

Flat 50% Off Order New Solution
Added on: 2022-08-20 00:00:00
Order Code:
Question Task Id: 0
  • Subject Code :

    CSE1322L

Assignment Task:

Task:

Concept Summary:
1. Inheritance
2. Over-riding methods
3. Instantiating objects
4. Fundamental Class Concepts.
5. Using your IDE to generate UML diagrams.
Objective:
In this lab, you’ll be creating software for the world's smallest bank. This bank can have only one customer. The customer will have a checking account and a savings account. The account types have some specific rules:
Checking Accounts:
- Allows unlimited deposits and withdrawals for free.
- Provides no interest payments.
- If the account balance ever drops below $0, the customer is charged a $20 overdraft fee.
Saving Accounts:
- Must maintain a $500 balance at all times, otherwise the customer is charged $10 each time they make a withdrawal that lowers their balance below $500.
- Earns 1.5% interest every year
- The first 5 deposits are free, after that there is a fee of $10 per deposit.
You’ll provide the bank teller with a simple menu which will allow them to make changes to their customer’s accounts.
You’ll use your IDE to generate UML diagrams of your classes. See UML section below.
Account Numbers:
Each account will have an account number. You should use a static variable to keep track of the next account number. At the start set this number to 10001.
In your driver you’ll create a Checking account, and a Savings account. The checking account will end up with a account_number of 10001, while the Savings account will end up with an account_number of 10002.

Classes:
? Create a class called “Account”. This will hold things that are true for all account types. Be sure to include at least:
? An attribute which will hold the account number.
? An attribute which will hold the account balance. (e.g. $500.22)
? A constructor method which opens the account with a balance of 0.
? It should set the account number using the static variable described above.
? An overloaded constructor which opens the account with a specific amount which is passed to the constructor.
? It should set the account number using the static variable described above.
? Getter method for accessing the account_number.
? Getter/Setter method for accessing the account balance.
? A withdrawal method which takes a parameter of the amount to be withdrawn and deducts it from the balance.
? A deposit method which takes a parameter of the amount to be deposited and adds it to the balance.

? Create a class called “Checking” which should inherit from Account.
? You will need an appropriate constructor to set the account balance.
? Modify the withdrawal method you inherited to check for the condition where they try to overdraft their account.
? If an overdraft condition occurs you should print out “Charging an overdraft fee of $20 because account is below $0”
? Deduct $20 from their balance.

 

This CSE1322L :  Management Assignment has been solved by our Management  Experts at Exam Question Bank. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

  • Uploaded By :
  • Posted on : February 10th, 2019
  • Downloads : 0
  • Views : 350

Order New Solution

Can't find what you're looking for?

Whatsapp Tap to ChatGet instant assistance

Choose a Plan

Premium

80 USD
  • All in Gold, plus:
  • 30-minute live one-to-one session with an expert
    • Understanding Marking Rubric
    • Understanding task requirements
    • Structuring & Formatting
    • Referencing & Citing
Most
Popular

Gold

30 50 USD
  • Get the Full Used Solution
    (Solution is already submitted and 100% plagiarised.
    Can only be used for reference purposes)
Save 33%

Silver

20 USD
  • Journals
  • Peer-Reviewed Articles
  • Books
  • Various other Data Sources – ProQuest, Informit, Scopus, Academic Search Complete, EBSCO, Exerpta Medica Database, and more