Closed QuentinI closed 6 months ago
n for nextInt(n) is not inclusive and has to be positive, so you don't need to subtract 1 here
n
nextInt(n)
n
fornextInt(n)
is not inclusive and has to be positive, so you don't need to subtract 1 here