+ 2
need code to make 10 players in tow team rundumly red team have three players green team have 7 players
dont give me the code please just teatch me how to creat it
2 ответов
+ 4
use can use the random int generator
generator.nextInt("the range")+1;
use loops so it won't repeat the same number
+ 1
import random class and use 'random of' array