Generating random numbers in a range with Java | Hacker News Reader