I have an issue with the random generator. I use the code;
myNumber = rand() % 100; //for numbers 1 - 100;
My problem is, the numbers getting generated have a pattern. Such that the first output is 33, 43, 62, 29, 0, 8 ...
Why is this so?
I am on Windows 8, Using Netbeans 8, with Cygwin installed.
Thanks in advance...