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: 10065
- 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!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 56 guests