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

I need help on Problem Assignment 1. I can't figure out how to update all the variables to the new ones after the math is done.

OpenStudy (rsmith6559):

variable = variable + something

OpenStudy (anonymous):

I already have that. While month <= 12 is the loop, and the decrementing function is month+= 1.

OpenStudy (anonymous):

This is the code.

OpenStudy (anonymous):

Please ignore the return function before the printing, i didn't realize that it was there. I was just testing random things to see if they worked.

OpenStudy (anonymous):

For all of you who tried to help me, I thank you. I'm sorry if you have stared at this screen for a little while for nothing, but i have kind of figured it out. I got the math down, but I need to know hot to make it only two decimal places and not ten or so.

OpenStudy (anonymous):

Recommended you read: https://assignment.essayshark.com/blog/an-easy-way-to-get-computer-science-assignment-help/ If you want to know how it looks like just click here: http://en.calameo.com/read/0046404049be7ae31cbe7

OpenStudy (anonymous):

Thanks for your help, it worked finally. :)

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!