试题详情
单项选择题以下()表达式产生一个0~7之间(含0,7)的随机整数.

A、Math.floor(Math.random()*6)

B、Math.floor(Math.random()*7)

C、Math. floor(Math.random()*8)

D、Math.ceil(Math.random()*8)

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题