Design and create an efficient, well-documented solution

Assignment Help Operating System
Reference no: EM13944612

Design and create an efficient, well-documented solution that allows a user to repeatedly create and manage credit card accounts. When a new credit card account is opened, the credit company sets a credit limit for the user that specifies the maximum balance allowed on the account. The balance starts at $0. The user can make purchases and charge them to the credit card, increasing the balance. The purchase should be declined if it would put the balance over the credit limit. At the end of each month, the user must pay the entire balance on the card, or else the credit company charges the monthly interest on the balance. You may assume the user makes one payment per month.

There are two types of accounts: Standard and Gold. The Standard account has a monthly interest rate of 18% and a monthly credit limit of $4000. A Gold account has a monthly interest rate of 15%, credit limit of $10,000 and a 1% cash back (applied as a reduction in balance).

Implement a class CreditAccount that includes an accountNumber (automatically generated), balance, accountNickname, accountType.

Private Variables: accountNumber, accountBalance, creditLimit, interestRate. Accounts can be:
* opened (using a Constructor: include a Boolean false if a Standard account is to be opened and true if it is a Gold account);
* charged (make sure amount is valid);
* payment made (add appropriate interest and deduction if Gold).

Be sure to include appropriate constants, mutators and accessors (including a toString method).

In the application that implements the CreditAccount class, the user should be presented with a menu, allowing them to choose from:
* Opening a new CreditAccount (no more than 10 credit cards permitted).
* Make a charge to a credit card (choose the account to charge via a menu of the account nicknames).
* Make a payment to a credit card (choose the account to charge via a menu of the account nicknames).
* Quit the application (when this is chosen, present the user with a total of all of the credit card balances).

I am not looking for a complete solution, but some guidance with the Java code part of it. Even text based menu will do, but some pointers on creating a GUI menu will be most welcome.

Attachment:- Program3IT206Spring2013.zip

Reference no: EM13944612

Questions Cloud

Best estimate of CDBs cost of equity : Stock in CDB Industries has a beta of 1.10. The market risk premium is 7 percent, and T-bills are currently yielding 4.0 percent. CDB’s most recent dividend was $3.40 per share, and dividends are expected to grow at a 5 percent annual rate indefinite..
What is the tax implication on the sale : A machine will reach the end of its useful life in year 5. The realizable salvage value is expected to be $50,000 with a book value of zero. The company's marginal tax rate is 34%. What is the tax implication on the sale of the new machine at year 5?
Confidence interval estimate for the population mean : Construct a 95% confidence interval estimate for the population mean turnover time. Interpret the interval constructed in (a). Do you think the quality improvement project was a success?
Differences between common stock and preferred stock : Briefly explain the differences between common stock and preferred stock? Why would someone buy preferred shares over common shares? Which type shares traditionally pay the highest dividends?
Design and create an efficient, well-documented solution : There are two types of accounts: Standard and Gold. The Standard account has a monthly interest rate of 18% and a monthly credit limit of $4000.
Guidelines for building effective ecommerce websites : You should determine your evaluation criteria (approximately 10-15 criteria) based on principles and guidelines for building effective ecommerce Websites and the business models discussed in the prescribed textbook,
Coefficients and obtain the scale of production : a. What are the values of the coefficients now? At what levels are the coefficients significant? b. Interpret the coefficient on irrigation. What does it mean for rice production? c. Now sum up your coefficients and obtain the scale of production.
What is the yield to maturity on the company bond : A company issues bonds at a market price of $925. The face value is $1000. The bonds mature in 10 years, and the coupon rate is 6% compounded semi annually. What is the yield to maturity on the company's bond?
How much will daniel have on deposit : Daniel deposits $2,000 per year at the end of the year for the next 15 years into an IRA account that currently pays 7%. How much will Daniel have on deposit at the end of the 15 years

Reviews

Write a Review

Operating System Questions & Answers

  Advantages of home networking

Discuss the advantages of home networking? Do you find that most of the documents are actually stored on a single computer.

  What do you mean by the protection fault

What do you mean by the protection fault? How the Kernel handles the copy on write bit of a page, when the bit is set?

  Discussion about wireless networking technologies

Your corporation has just occupied an old historic building in which fifteen workers will work. Due to historic building codes, the corporation is not permitted to run cables inside walls or ceilings.

  Question about affiliate programs

Many companies are using affiliate programs to drive traffic to their Web sites. explain what an affiliate program is and how it works.

  Threads in a multi-threaded process

What components of program state are shared across threads in a multi-threaded process? Can someone provide the answer with reference to operating system?

  Mobile platforms and desktop computers

From the e-Activity, examine the need for BIOS on computing devices. Determine whether or not you believe all mobile platforms and desktop computers need BIOS. Justify your response with relevant examples and sources.

  Performance of a computer

Set-up a paper describing with some detail the following topics of computer processing: Each of the twenty items listed should be adequately addressed.

  What lessons do the ancient greeks teach us

WHAT LESSONS DO THE ANCIENT GREEKS TEACH US ABOUT THE ROLE OF PERSONAL CHARACTER IN A GOOD NATIONAL LEADER?

  Give an illustration where strict 2 phase locking is

question 1 give an example where strict 2 phase locking is followed but the resulting schedule leads to deadlock.

  What is the overall big-o of this algorithm?

What is the overall Big-O of this algorithm?

  Determine a source code control system

Determine a source code control system and discuss why is such a system necessary when multiple programmers build a program or system?

  Selecting correct information system for trading futures

Discuss some of the many considerations in choosing the correct information system to use for trading futures and stocks?

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