Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. 9 13 D:just tryingUntitled1.cpp [Error] size of array 'array' has non-integral type 'double'
  2.  
  3. Rand#01= (a*seed+c)%m.
  4. Rand#02= (a*Rand#01)%m.
  5. 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