Random::randomInt()
Returns a random integer. You can optionally choose the minimum and maximum of that number.
Syntax
Java
Scratch
random integer
Parameters
Name | Data Type | Description |
---|---|---|
min | int | Minimum value of the random number |
max | int | Maximum value of the random number |
Return
int