Calculate the minimum payment

Assignment Help JAVA Programming
Reference no: EM131602737

This is JavaScript not Java, however, there was only the option to select Java.

Design and implement a program that will allow us to determine the length of time needed to pay off a credit card balance, as well as the total interest paid.

The program must implement the following functions:

1. displayWelcome
This function should display the welcome message to the user explaining what the program does.

2. calculateMinimumPayment
This function calculates the minimum payment. It should take balance and interest rate as arguments and return the minimum payment.
So the value you display for minimum payment is the value you get from this method. Do not use a literal hardcoded value when you display the minimum payment!

3. displayPayments
This function displays the actual payment schedule. It should take the balance, monthly interest rate and minimum payment as arguments.
Use the 1500, 18% and 2% literal values below.
See the sample execution below:
This program will determine the time to pay off a credit card and the interest paid based on the current balance,
the interest rate, and the monthly payments made.
Balance on your credit card: 1500
Interest Rate: 18
Assuming a minimum payment of 2% of the balance ($20 min)
Your minimum payment would be $ 30.00
PAYOFF SCHEDULE
_________________

Year    Balance     Payment Num     Interest Paid

   1       1,492.50                1                     22.50

            1,484.89                 2                     44.89

            1,477.16                 3                     67.16

            1,469.32                 4                     89.32

                   .                         .                      .

                   .                         .                      .

   7      517.51                     73                  1,207.51

            495.28                     74                 1,215.28

             472.70                    75                  1,222.70

             449.79                    76                  1,229.79

                  .                            .                           .

                  .                            .                           .

    8      227.51                      85                 1,277.51

            200.92                      86                  1,280.92

            173.94                      87                   1,283.94

            146.55                      88                   1,286.55

            118.74                      89                    1,288.74

            90.53                        90                    1,290.53

            61.88                        91                    1,291.88

            32.81                        92                     1,292.81

              3.30                         93                    1,293.30

 

Reference no: EM131602737

Questions Cloud

Is foreign aid worsening our budget deficit : Is America obligated to help poor countries? Is foreign aid worsening our budget deficit?
Define properties of the local linearization : Someone claims that the square root of 1.1 is about 1.05. Without using a calculator, do you think that this estimate is about right?
Barriers to entry facing potential competitors : Consider the barriers to entry facing potential competitors in Forrest's monopoly market. The more contestable a market, the closer it will be to a perfectly.
Take on the role of a supervisor at a juvenile detention : Take on the role of a supervisor at a juvenile detention center. You have been charged with training psychology interns on the salience of risk .
Calculate the minimum payment : Design and implement a program that will allow us to determine the length of time needed to pay off a credit card balance
Labor and capital to make shoes : Alice runs a shoe making factory that utilizes both labor and capital to make shoes. Which of the following would shift the factory's demand for capital and why
At what point do the two normal lines intersect : Find the equations of the tangent lines to the circle x2 + y2 = 25 at the points where x = 4.
Specify the nature of the interrelationships : Analyze the specific requirements that the government must meet in order to declare a federal disaster and provide federal assistance.
Discuss healthcare to the citizens of the united states : the government will take that money and provide healthcare to the citizens of the United States

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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