subject

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 >

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
Idon understand these and need some ! ?
Answers: 2
question
Computers and Technology, 22.06.2019 15:00
Atool that matches persoal skills qualities interests and talets to a career is called a
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What side length would you specify if you were required to create a regular hexagonal plate that was composed of 33 cm(squared) of sheet metal? dimension the side length to 0.1 cm
Answers: 2
question
Computers and Technology, 22.06.2019 22:40
When you type the pwd command, you notice that your current location on the linux filesystem is the /usr/local directory. answer the following questions, assuming that your current directory is /usr/local for each question. a. which command could you use to change to the /usr directory using an absolute pathname? b. which command could you use to change to the /usr directory using a relative pathname? c. which command could you use to change to the /usr/local/share/info directory using an absolute pathname? d. which command could you use to change to the /usr/local/share/info directory using a relative pathname? e. which command could you use to change to the /etc directory using an absolute pathname? f. which command could you use to change to the /etc directory using a relative pathname?
Answers: 3
You know the right answer?
Astatistician would like to simulate rolling a single die until she has rolled the die a total of 10...
Questions
Questions on the website: 13722362