SyntaxFix
Write A Post
Hire A Developer
Questions
rand.nextInt((max+1) - min) + min;
This is working fine.