need code to make 10 players in tow team rundumly red team have three players green team have 7 players | Sololearn: Learn to code for FREE!

+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

11/1/2016 8:24:35 PM

‫يوسف العمري‬‎

2 Answers

New Answer

+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