Page 1 of 1

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

Posted: Tue Mar 05, 2013 5:24 pm
by ETS User
Can we just correct the explanation from

You could change it to: while( --i>0 ){ ... }. In this case, --i<0 is a boolean expression and is valid.

You could change it to: while( --i>0 ){ ... }. In this case, --i>0 is a boolean expression and is valid.

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

Posted: Thu Oct 29, 2015 2:18 pm
by Mushfiq Mammadov
Maybe --i should be --k. And "<" should be ">" in the last underlined statement which have already been noted in the previous post.

Image

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

Posted: Fri Oct 30, 2015 8:25 pm
by admin
Fixed.
thank you for your feedback!