Friday, November 22, 2013

Do...While not functioning as expected.


Also, the loop is not working anymore. If I enter 2, 15, and 365, for example, it only says "2 times 365 = 730", that's it! Please help.


Thank you.




Mitch Hean



This one is simple - your condition in while expression meet at first loop (2<=15 and 15 <= 10) so second part is false and loop break


:)


No comments:

Post a Comment