欢迎来到牛牛题库网 牛牛题库官网
logo

单项选择题

要产生[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

点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

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