【简答题】
A、n≤10时,1只备用 B、n≤10时,不用备用 C、n>10时,1只备用 D、n>10时,每10只备用1只
A、n=Math.round(Math.random(100))+1; B、n=Math.round(Math.random()*100)+1; C、n=Math.floor(Math.random(100))+1; D、n=Math.floor(Math.random()*100)+1;