要产生[20 999]之间的随机整数使用()表达式。

大学网课 已帮助 人

要产生[20,999]之间的随机整数使用()表达式。

A.(int)(20+Math.random()*979)

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

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

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

要产生[20 999]之间的随机整数使用()表达式。

热搜:19世纪末到20世纪初,一些西方国家产生了科学管理

回答

共1条回复

  • 20+(int)(math.random()*980)