Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 9 13 D:just tryingUntitled1.cpp [Error] size of array 'array' has non-integral type 'double'
- Rand#01= (a*seed+c)%m.
- Rand#02= (a*Rand#01)%m.
- Rand#03= (a*Rand#02)%m. So on until the total numbers of random numbers generate == m (if user enters m=15 so total 15 random numbers should be generated ).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement