SyntaxFix
Write A Post
Hire A Developer
Questions
Problem is that you seed the random generator again. Every time you seed it the initial state of the random number generator gets reset and the first random number you generate will be the first random number after the initial state