0
Where is mistake?
2 Answers
+ 5
Line 19 is a function declaration/prototype, not a function call. Remove the "int".
Also, call srand() once from main(). If you call it over and over again in an infinite loop, it might generate the same "random" numbers thousands of times in a row
+ 1
Thank you