Create a Java Program using the scenario below. You made a $6,000 purchase for a car using an approved Visa credit card. The annual interest rate for the card is eighteen percent. The minimum monthly payment rate is two percent. How much is the remaining balance after a year? Equations for the program. 1: Minimum monthly payment (mmp) = mmp x balance 2: Interest paid = annual interest rate divided by 12 months times balance. 3: Principal paid = mmp minus interest paid(IP) 4: Remaining balance = balance minus principal paid.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Create a Java Program using the scenario below.

You made a $6,000 purchase for a car using an approved Visa credit card. The annual interest rate for the card is eighteen percent. The minimum monthly payment rate is two percent. How much is the remaining balance after a year?

Equations for the program.

1: Minimum monthly payment (mmp) = mmp x balance

2: Interest paid = annual interest rate divided by 12 months times balance.

3: Principal paid = mmp minus interest paid(IP)

4: Remaining balance = balance minus principal paid.

Compute the first month of the MMP by taking two percent of the balance like below.

MMP = .02 times %6000 = $120

Then compute how much will apply to interest payment, and how much can pay for the principal amount. The annual interest rate divided by 12 to get monthly rate

 

IP = .18 divided bt 12.0 times $6000 = 90

Principal paid = 120 minus 90 = 30

Remaining balance will be principal paid minus the balance at the start of the month.(6000 minus 30 = 5970).

Finally, calculate the next eleven months by repeating the steps above. After twelve months(a year) show amount paid and outstanding balance. How many years will it take to pay off the debt.

Use java

 

Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education