Question: Can someone code this in java as simple as they can Lab3A: Credit Cards. Financial advisors will almost always tell you that you should pay
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 flatires, dead refrigerators and so on. However, life doesn't always work that way and sometimes we need to charge things. So, for this part of the lab, we're 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. Sample run 1: Amount owed: $2000 APR: 19.75 Monthly percentage rate: 1.64583 Minimum payment: $32.9167 Sample run 2: Amount owed: $8500 APR: 29 Monthly percentage rate: 2.41667 Minimum payment: $205.417 Page 1 of 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
