Thread
:
Need Help
View Single Post
xpi0t0s
Mentor
13Mar2010,13:11
By the way, rand() returns a new random number each time it is called, so
Code:
cout <<rand () %101 << "\n";
would not be expected to display r. If you want it to display r, you have to tell it to display r.