Are you sure the final answer of giveaway is 250?
Ching Ming wrote:I think the answers is 250 in giveaway. Giveaway is the only thing printed and its just distribution *.5. Is that correct?
Ching Ming wrote:The first time I run the loop through I get 250 the second time I get 125 which is not greater than 200. I am still confused.
Ching Ming wrote:From my point of view I think this loop can only be run one time. Because times 500 by its half will only be greater than 200 once because 250 *.5 = 125.
Ching Ming wrote:From my point of view I think this loop can only be run one time.
Ching Ming wrote:Ok I think I got the most the loop can run is twice because after the second time the distribution is 125. So after first loop distribution is 250 and counter is at 1 and after second loop distribution is 125 and counter is at 2. I don't think you can go farther than that.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton