Q:
What's the difference between the functions rand(), random(), srand() and randomize()?
Answer
rand() returns a random number
random() returns a random number in a specified range
srand() initialise a random number generator with a given seed value
randomize() initializes a random number generator with a random value based o time.
View answer
Workspace
Report Error
Discuss