0
Concerning the modulo portion of the code.
I don't really understand why the modulo portion of the code was made to be 1+rand()%6 to get value 6 and below. Couldn't it just be rand() %7?
1 Answer
I don't really understand why the modulo portion of the code was made to be 1+rand()%6 to get value 6 and below. Couldn't it just be rand() %7?