Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 18 Online
OpenStudy (anonymous):

I don't get what problem 2, assignment 1 is about (the credit card assignemnt). Why not just take the balance + annual interest rate * balance and divide ist by 12... I don't understand the task. I solved problem 1, but 2 just doens't make sense to me :/

OpenStudy (anonymous):

The interest rate is compounded after each payment. Put a print statement after each month when you finish this exercise and you will see the same payment has a different percentage which goes to interest and principal with each month.

OpenStudy (anonymous):

I meant the interest is compounded, the rate stays the same but the amount is adjusted after each payment.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!