Page 1 of 1

About Question enthuware.ocpjp.v7.2.1108 :

Posted: Fri Jun 15, 2018 7:13 pm
by sorgavaasal
One more problem I see in the first option is, int (math.random()*10) only creates random number between 1 and 9 and to include 10 like what was asked in the question we need the int r = (int) (Math.random()*11);

Re: About Question enthuware.ocpjp.v7.2.1108 :

Posted: Fri Jun 15, 2018 9:21 pm
by admin
You are right. Added to the explanation.
thank you for your feedback!