欢迎来到易学考试网 易学考试官网
全部科目 > 大学试题 > 计算机科学 > 超文本标记语言(HTML)

单项选择题

以下()表达式产生一个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)

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题