Evaluate the following code segment. What is the value of count after execution? int count = 1; for(int outer = 0; outer < 4; outer++) for(int inner = 1; inner < 3; inner++) count++; 1 3 9 12 13
This one i have no clue
@Vocaloid
here ill help u
Thank youuu
Ok help with one more?
Assume rand has been declared as an object of the Random class. Consider the following statement: int randomNum = rand.nextInt(5); Which set or sets of integers represent possible values for randomNum? 0, 1, 2, 3, 4 0, 1, 2, 3, 4, 5 0, 5 I only II only III only I and III only II and III only
i dont know about this one
Zoey - Giving out direct answers isn't allowed; you have to show them how you got it. e.e
oh fudge i forgot umm
No worries, just a a heads up.
Lol
Can't confirm the original q rand.nextInt(5); (Any value from 0-5) so it could be 0,1,2,3,4,5
Awesomeeee thanks dude
So just that right?
Ya
Join our real-time social learning platform and learn together with your friends!