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

Is it possible to work q1 of ps4 with recursive AND at the same time generate a list. I've only been successful at getting the answer of Amount saved after n year without the formatting Years: n, Amount: k, or perhaps at best like [Year: 1, Amount: 'value1'] [Year: 2, Amount: 'value2']

OpenStudy (anonymous):

Would be cooler if I know what you were talking about... And why you want to do this.Math problems or programming a application with no purpose seems pointless, in school I've always noticed that they just teach syntax and don't actually have many projects... So what exactly are you trying to accomplish? If I knew I may be able to help you.

OpenStudy (anonymous):

Neh problem here ain't the syntax. I kinda got the answer, if the numerical answer is what is to be found. The problem is how do you display a list that lists out for example.. [[Year:1, Amount: 204], [Year: 2, Amount 404.2], [Year 3: Amount: 612.4]] using recursion. Fundamentally, can two values be returned - one for the recursive calculation and one for the generation of the formatted list FROM the calculation http://pastie.org/3729168

OpenStudy (anonymous):

I just posted my version of Problem Set 4. It is at http://openstudy.com/study#/updates/4f7dcdfce4b09f22231c3fba. Hope this helps.

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!