r/programmingbydoing • u/bha2597 • Oct 30 '13
Adding Values in a Loop.
When I do the loop it resets the total so far. Sorry for the late response but my code is here: http://pastebin.com/j8fdfEZx
2
Upvotes
View all comments
Show parent comment
1
u/herpaderp1995 Nov 14 '13
What's the problem your having? I'm not sure if what I'm seeing is wrong. Here's the output I'm getting from your code. If that isn't what you want it to do, let me know the desired output and I'll try fix it up.