About Question enthuware.ocpjp.v7.2.1108 :
Moderators: Site Manager, fjwalraven
-
- Posts: 1
- Joined: Fri Jun 15, 2018 7:08 pm
- Contact:
About Question enthuware.ocpjp.v7.2.1108 :
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);
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1108 :
You are right. Added to the explanation.
thank you for your feedback!
thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 6 guests