Computers and Technology
Computers and Technology, 11.12.2019 02:31, joehelmy

Astatistician would like to simulate rolling a single die until she has rolled the die a total of 100 times, or she rolls a six a total of 25 times, whichever comes first. which boolean expression should she use for the to accomplish this? var rolls = 0; var sixes = 0; while ( ){var nextroll = randomnumber(1, 6); if(nextroll == 6){sixes = sixes + 1; }rolls = rolls + 1; }console. log(rolls); console. log(sixes); rolls > = 0 & & sixes < 25rolls < 100 & & sixes < 25rolls < 100 || sixes < 25rolls = 100 || sixes < = 25rolls < sixes || sixes >

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, marshunsanders
What must you do before formatting a paragraph?
Answers: 1
image
Computers and Technology, 22.06.2019 11:10, golderhadashaowtatz
Which are not examples of chronic or persistent stress? moving
Answers: 1
image
Computers and Technology, 23.06.2019 02:30, noah2o2o
These factors limit the ability to attach files to e-mail messages. location of sender recipient's ability to open file size of file type of operating system used
Answers: 2
image
Computers and Technology, 23.06.2019 06:30, scoutbuffy2512
On early television stations, what typically filled the screen from around 11pm until 6am? test dummies test patterns tests testing colors
Answers: 1
Do you know the correct answer?
Astatistician would like to simulate rolling a single die until she has rolled the die a total of 10...

Questions in other subjects:

Konu
Mathematics, 03.12.2020 21:20
Konu
English, 03.12.2020 21:20
Konu
Mathematics, 03.12.2020 21:20
Konu
Mathematics, 03.12.2020 21:20
Konu
Mathematics, 03.12.2020 21:20