Description Usage Arguments Examples
This function use linear congruential generator to generate random number between min and max. The seed of this method is set automatically with time of system. This method are using in C,C++ and java random generator. The constants which are used in this function are same as java random generator. This function has 3 parametes which are set as specific number but can be set with inputs.
1 | rgenerator(min=0 , max=1 , number=1)
|
min |
|
max |
|
number |
|
1 2 3 4 5 | rgenerator()
or
rgenerator(3,8)
or
rgenerator(3,8,10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.