anonymous
  • anonymous
Ps2 P1. The only part I hav'nt done is the Total paid: how do i do this?
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
katieb
  • katieb
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
You have to create a new variable, also initialize it, inside of your loop you have to add it to the monthly payment for everymonth, then outside you can show it, don't forget the "round" function.
anonymous
  • anonymous
Thanks, but i don't get it. how do i setup inside the loop?
anonymous
  • anonymous
haha you should have a for loop, to calculate the minimum payment for the 12 months, just use a new variable and add every new value of the minimum payment each month, so at the end you'll have the sum of all the values in that variable.

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
Ok, that sounds good. I shall have a try. :)
anonymous
  • anonymous
Great! hope it works.
anonymous
  • anonymous
ah yeah buddy that worked, wasn't so hard after all, i need practice
anonymous
  • anonymous
Yeah! sometimes you just need fresh air, and look the problem from way too far! glad to help.
anonymous
  • anonymous
your right there, thanks, you gave me the help I needed. Now onto P2. Not sure i have enough time to complete all Pset 2
anonymous
  • anonymous
One way to model the idea, for the PS2 I created a excell file, even if you're wrong, you can see the right output, maybe as me, for the lenguage I don't get entirely the idea of the problem, or sometimes mix the solutions, in that way you can make a path for your ideas, you can do it!!

Looking for something else?

Not the answer you are looking for? Search for more explanations.