单选题
Access
题号 #3307244
随机产生[10,50]之间整数的正确表达式是( )。
参考答案
D
答案解析
lind函数产生的是0~1之间的浮点数,不包含1,Rnd*41则为0~41之间的浮点数,不包含41,Int(Rnd*41)则产生[0,40]之间的整数,lO+Int(Rnd*41)则是[10,50]之间的整数。
你可能感兴趣的试题
A.false 01"not true
B.true 01"not true
C.false and not true
D.true and not true