Page 1 of 1

About Question enthuware.ocajp.i.v7.2.1016 :

Posted: Sat Jun 08, 2013 4:46 pm
by ksnortum
The explanation doesn't touch on why the answer is 48 instead of 37. For me at least, the thing I missed is that while(count++ < 11) first tests count and then increments it. So when it's 10, it evaluates to true and then adds one to count.

Re: About Question enthuware.ocajp.i.v7.2.1016 :

Posted: Sun Jun 09, 2013 6:50 am
by admin
Good point. This has now been added to the explanation.

thank you for your feedback!