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

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

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