Thread: Need Help
View Single Post
Mentor
13Mar2010,13:11  
xpi0t0s's Avatar
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.