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

Can someone explain to me the reasoning behind "Simulate passage of time until outstanding balance is paid off" used in Problem Set 1? I think it is used specifically on problems b and c.

OpenStudy (turingtest):

For every month, you pay off a certain amount of the debt. You can make a loop that iterates over the months, deducting the appropriate payment each month, that ends when the remaining balance is 0. That "simulates" giving a monthly payment over that period of time.

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!
Latest Questions
Arriyanalol: i need help
20 hours ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
23 hours ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!