Question

Say that you owe the credit card company $1000.00. The company charges you 1.5% per month...

Say that you owe the credit card company $1000.00. The company charges you 1.5% per month on the unpaid balance. You have decided to stop using the card and pay off the debt by making a monthly payment of N dollars a month. Write a PYTHON function that takes the monthly interest rate, the starting balance and the monthy payment as parameters, then writes out the balance and total payments for every month until the balance is zero or less. Also, when the balance falls below the amount of the monthly payment, write out the final payment that will bring the balance to exactly zero.

A sample output for monthly interest rate of 1.5%, starting balance of $1000, and monthly payment of $100 would look like:

Month: 1  balance: 915.0  total payments: 100.0
Month: 2  balance: 828.725        total payments: 200.0
Month: 3  balance: 741.155875     total payments: 300.0
Month: 4  balance: 652.273213125  total payments: 400.0
Month: 5  balance: 562.057311322  total payments: 500.0
Month: 6  balance: 470.488170992  total payments: 600.0
Month: 7  balance: 377.545493557  total payments: 700.0
Month: 8  balance: 283.20867596   total payments: 800.0
Month: 9  balance: 187.456806099  total payments: 900.0
Month: 10         balance: 90.2686581908  total payments: 1000.0
Month: 11         balance: 0      total payments: 1091.62268806
0 0
Add a comment Improve this question Transcribed image text
Answer #1

main.py

def ccbalance():

mon = 0

x = 100.00

balance = 1000.00

tot = 0.0

while(balance > 0):

mon = mon + 1

balance = balance + (balance * 1.5) - x

tot = tot + x

print("Month: {} Balance: {} Total Payment:{}".format(mon, balance, tot))

ccbalance()

Add a comment
Know the answer?
Add Answer to:
Say that you owe the credit card company $1000.00. The company charges you 1.5% per month...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • You graduate and owe $10,000 on your credit card, which charges 1.5% monthly interest. You plan...

    You graduate and owe $10,000 on your credit card, which charges 1.5% monthly interest. You plan on paying only the minimum payment of $200 until it is paid off. How many months will it take you to get out from under this debt? Is there a way to solve in Excel?

  • Say you owe $10,000 on your credit card with a 1% monthly interest rate. Further, say...

    Say you owe $10,000 on your credit card with a 1% monthly interest rate. Further, say you make $90 monthly payments. Assuming you make no further purchases, you will pay off your credit card balance in: 33.12 months 33.67 months 33.99 months you will never pay off your balance. It will grow every month.

  • a visa credit card company has a finance charge of 1.5% per month (18% per year)...

    a visa credit card company has a finance charge of 1.5% per month (18% per year) on the outstanding balance. john owed $3,200 and has been delinquent for 5 months. how much total does he owe now?

  • 3. You have a credit card on which you currenty owe $10,000 The card has a...

    3. You have a credit card on which you currenty owe $10,000 The card has a 19 99% annual interest rate and requires a minimum monthly payment of $50 Assume that you do not incur any other purchases on the card. (12 points) a) If you only make the minimum payment, how long will it take you to pay off the card? b) If you only make the minimum payment, how much total interest will you pay? c) If you...

  • You owe ​$3629 on your credit card which has a 17.2​% APR. ​(a) How much interest...

    You owe ​$3629 on your credit card which has a 17.2​% APR. ​(a) How much interest do you get charged this month on your balance of ​$3629​? ​(b) You make a payment of ​$850. What is your new balance for the next​ month? ​(c) How many total months will it take you to pay off the debt if you continue to make ​$850 payments each month​ (the last month you would pay just what you​ owe)? ​(a) The interest is...

  • Jessica owes $2550 on a credit card that charges 1.7% effective interest per month. She decides...

    Jessica owes $2550 on a credit card that charges 1.7% effective interest per month. She decides to pay off the debt by making monthly payments of $70, starting one month from now, followed by a final smaller payment. How many payments, including the final one, will be required? Answer = payments. (3 decimal place)

  • Your liabilities are what you owe. They include the charges on your credit card every month,...

    Your liabilities are what you owe. They include the charges on your credit card every month, the rent owed on a lease agreement, the payoff amount on your mortgage, the balance due on your school loan, the taxes due, and so on. Liabilities are classified according to maturity as either short term (current) or long term. liability is due in the next 12 months. Categorize each of the following liabilities as a short-term liability or a long-term liability. Short-Term Long-Term...

  • Suppose you owe ​$600 on your credit card and you decide to make no new purchases...

    Suppose you owe ​$600 on your credit card and you decide to make no new purchases and to make the minimum monthly payment on the account. Assuming that the interest rate on your card is 1​% per month on the unpaid balance and that the minimum payment is 2​% of the total​ (balance plus​ interest), your balance after t months is given by ​B(t)=600​(0.9898t​). Find your balance at each of the given times. Complete parts​ (a) through​ (e) below. ​(a)...

  • use excel The typical American household owes approximately $15,000 in credit card debt. Assume you owe...

    use excel The typical American household owes approximately $15,000 in credit card debt. Assume you owe this amount today and will not to put another charge on your credit card until this debt is paid off. Your credit card has an APR of 18% and minimum payments are calculated as 2% of outstanding balance or $15, whichever is greater. Using two (2) decimal places for dollar amounts, determine: a) How many years will it take to pay the entire amount...

  • Your credit card charges interest of 1.5% per month. The company will quote you an APR...

    Your credit card charges interest of 1.5% per month. The company will quote you an APR of what? 01.5% O 12% O 18% O None of the above.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT