• 2022-10-26
    x,y是整数型变量,在VBA中产生一个范围在[x,y]之间的随机整数z的语句是( )
    A: z=Int(Rnd*y)+x
    B: z=Int(Rnd*(x-y+1)+y)
    C: z=Int(Rnd*(y-x+1)+x)
    D: z=Int(Rnd*x)+y