+ 2
Random Number Generator prob
cout << 10+(rand()%20); wont print between 10 to 20 what method to solve this??
2 Réponses
+ 2
do
cout << 10 + (rand () % 11);
- 1
check my code fun with true random nos, lots of comments and explanations to help you, I ll take a look on your code too wait