2. (5.12 in 8e) answer each of the followig question.
a) what does it mean to choose numbers "at random"?
b) why is the rand function useful for simulating games of chance?
c) why would you randomize a program by using srand? Under what circumstances is it desirable not to randomize?
d) why is it often necessary to scale and/or shift the values produced by rand ?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here