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

hello people i understand problem 2 spring 2011, what change in problem 1 to solve problem 2 http://dpaste.com/788497/

OpenStudy (lopus):

Paying Debt Off In a Year

OpenStudy (anonymous):

The change is now instead of figuring out how long it will take to pay it off you have to figure out what price per month is necessary to pay it all off within 12 months. So you start at 10 per month. You run through a loop that pays 10 per month every month for 10 months. Then, you check to see if it was paid off, if not you add 10 more. Then you run through the loop that pays 20 per month for 12 months, etc Keep increasing by 10 per month until you find an amount that pays it off in under 12 months. Here's how I solved it: http://dpaste.com/hold/788521/

OpenStudy (lopus):

men thanks http://dpaste.com/788942/ this is my answer is very similar

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!