Question: Newer Version of Python and Starting out with Python 4ed Given a credit limit, current balance, annual percentage rate (APR) and monthly payment write a

Newer Version of Python and Starting out with Python 4ed  Newer Version of Python and Starting out with Python 4ed Given
a credit limit, current balance, annual percentage rate (APR) and monthly payment

Given a credit limit, current balance, annual percentage rate (APR) and monthly payment write a Python program that computes and prints the interest paid and the remaining balance at the end of each monthly cycle. The program should continue printing the monthly values until the debt is paid off (i.e. the remaining balance becomes zero). Your program should ask the user for the credit limit, balance on the card, APR (in percent) and the monthly payment as inputs in the beginning. For example, if credit limit is S5000. balance is S3000. APR is 16.99% (floating point value 16.99), and monthly payment is $300, then your program output should look as follows: Enter the credit 1imit: 5000 Enter the balance of the card: 3000 Enter the APR: 16.99 Enter the monthly payment: 300 Month Balance Interest Payment New Balance 2742.48 2481.30 2216.44 1947.82 1675.39 1399.11 1118.92 834.77 546.58 254.32 0.00 1 3000.00 2 2742.48 3 2481.30 2216.44 5 1947.82 6 1675.39 1399.11 8 1118.92 9 834.77 10 546.58 1 254.32 42.47 300.00 38.83 300.00 35.13 300.00 31.38 300.00 27.58 300.00 23.72 300.00 19.81 300.00 15.84 300.00 11.82 300.00 7.74 300.00 3.60 257.92 It will take $3257.92 over 1 month(s) to pay off this debt Note: For all dollar amounts and the APR value, print out exactly 2 digits after the decimal point. Also ensure that all the numbers in the output table line up nicely so that the decimal points are all at the same column position. The first column "Month" keeps count of the number of months as the remaining debt diminishes each monthly cycle. The second column "Balance" is the balance on the credit card at the beginning of each monthly cycle. For the first month, the balance is the value input by the user at the beginning of the program. For subsequent months, the balance is calculated using the following formula: Balance "New Balance" from the previous month. The third colnInterest" is the interest accrued on the "Balance at the end of each

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!