Write a program to compare how long it will take to pay off a credit card balance by paying only the minimum required payment each month, or by paying a larger amount each month. The program will work for any credit card balance of $500 or more. The credit card will have an annual interest rate between 3% and 25%. Interest will be applied monthly. This means that 1/12th of the annual interest will be added to the current balance each month. The user can choose to pay down anywhere from 6% to 33% of the balance every month. The payment made each month will always be at least the minimum required payment, but will never be more than the remaining balance. Program Requirements This program will implement a “generic” input reading method called readPercent that can be used to read and validate a percentage is within a specified range. The method will include 3 parameters: the lowest percentage allowed the highest percentage allowed a String description of what percentage is being read from the user By passing in these values as parameters, you can re-use the method to read any range of percentages needed for any data value. For example, if you were to call the method to read a mortgage rate, which is a percentage between 3.5% and 20%, the call would be: double mortgageRate = readPercent(3.5, 20, “annual mortgage rate”); Or to read a down payment percent, which is a percentage between 10% and 30%, the call would be: double downRate = readPercent(10, 30, “down payment percent”); Required Classes and Methods Two separate classes will be required for this program. 1. Define a Java class with properties and methods for a Credit Card Account, named: CreditCardAccount
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more