Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Java please Lab3A: Credit Cards. Financial advisors will almost always tell you that you should pay for things in cash and avoid credit card

In Java please

  • Lab3A: Credit Cards. Financial advisors will almost always tell you that you should pay for things in cash and avoid credit card debt. Further, they tell you that you should have a small emergency fund that you keep stocked for emergencies like flat tires, dead refrigerators and so on. However, life doesnt always work that way and sometimes we need to charge things. So, for this part of the lab, were going to write a calculator that calculates your minimum monthly payment on your card. To create this calculator, we will ask the user for 1) the current balance on their credit card and 2) the APR (Annual Percentage Rate) of the card. To calculate the minimum payment, you will multiply the current balance on the credit card (also called the amount owed) times APR and divide this number by 12 since there are 12 months in a year. The formula is Amount Owed APR 12 = Minimum Payment . The input APR is a percent, so make sure the APR is in decimal form when you are doing the calculations. The Monthly Percentage Rate is calculated by taking the decimal form of the APR and dividing it by 12 since there are 12 months in a year. Below is an example run. The user input is in bold.

Example #1

Amount owed:

APR:

Monthly percentage rate: 1.3058333

Minimum payment: $52.233334

Example #2

Amount owed:

APR:

Monthly percentage rate: 0.82166666

Minimum payment: $20.541668

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions

Question

LO4 Specify how to design a training program for adult learners.

Answered: 1 week ago