« first day (2358 days earlier)      last day (1659 days later) » 
00:00 - 22:0022:00 - 23:00

10:03 PM
-1
Q: If the lower limit were inclusive and the upper limit exclusive, which expression would properly generate values for the secret number?

user7336260I'm trying to find out which one is inclusive and exclusive. I know that this code segment is inclusive //Generate a secret number between the lower and upper bounds (inclusive of both) int secretNumber = (int)(Math.random() * (upperLimit -lowerLimit)) + lowerLimit; I wonder which one of thes...

 
00:00 - 22:0022:00 - 23:00

« first day (2358 days earlier)      last day (1659 days later) »