问题详情

答题翼 > 问答 > 远程教育 > 正文
目录: 标题| 题干| 答案| 搜索| 相关

要产生[20,999]之间的随机整数可以使用以下哪个表达式?()A、(int)(20+Math、random()*97)B、20+(


要产生[20,999]之间的随机整数可以使用以下哪个表达式?()

A、(int)(20+Math、random()*97)

B、20+(int)(Math、random()*980)

C、(int)Math、random()*999

D、20+(int)Math、random()*980

参考答案
您可能感兴趣的试题