subject

Design the logic for a game that simulates rolling two dice by generating two numbers between 1 and 6 inclusive (one number for each die). The player will choose a number between 2 and 12 (the lowest and highest totals possible for two dice). The program will then roll the dice three times, if the user's guess comes up in one of the rolls the user wins. If the guess does not come up after three rolls then the computer wins. The answer needs to be in Javascript. Please and thank you.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
Amedian in the road will be marked with a white sign that has a black arrow going to the left of the median. true false
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
question
Computers and Technology, 24.06.2019 01:30
How can you make your column headings stand out?
Answers: 1
You know the right answer?
Design the logic for a game that simulates rolling two dice by generating two numbers between 1 and...
Questions
question
Mathematics, 04.06.2021 03:10
question
Mathematics, 04.06.2021 03:10
question
Mathematics, 04.06.2021 03:10
question
Biology, 04.06.2021 03:10
question
Mathematics, 04.06.2021 03:10
question
Mathematics, 04.06.2021 03:10
question
Mathematics, 04.06.2021 03:10
question
Mathematics, 04.06.2021 03:10
Questions on the website: 13722367