Copyright © tutorialspoint.com
Syntax
Definition and UsageReturns a random fractional number between 0 and the positive number EXPR, or 1 if not specified. Automatically calls srand to seed the random number generator unless it has already been called. Return Value
ExampleTry out following example:
It will produce following results:
|
Copyright © tutorialspoint.com