1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kozerog [31]
2 years ago
7

Bunco is a dice throwing game that requires no decisions to be made or skill on the part of the player just luck. In the simples

t form of the game there are six rounds, progressing in order from one to six, where the number of the round serves as the target for that round's rolls. Within a round, players alternate turns rolling three dice aiming to obtain the target number. Players gain one point for each die matching the target. If the player gets three-of-a-kind of the target number (a Bunco), they get 21 points. Write a program to simulate two players playing a round of Bunco showing the dice throws and scores during the games as well as the final scores and the player with the highest score. Also indicate which winner won the most rounds
Computers and Technology
1 answer:
anygoal [31]2 years ago
8 0
Abcdefghijklmnopqrstuvwxyz now I know my abcs, next time won’t you sing with me :)
You might be interested in
let m be a positive integer with n bit binary representation an-1 an-2 ... a1a0 with an-1=1 what are the smallest and largest va
Ahat [919]

Answer:

Explanation:

From the given information:

a_{n-1} , a_{n-2}...a_o in binary is:

a_{n-1}\times 2^{n-1}  + a_{n-2}}\times 2^{n-2}+ ...+a_o

So, the largest number posses all a_{n-1} , a_{n-2}...a_o  nonzero, however, the smallest number has a_{n-2} , a_{n-3}...a_o all zero.

∴

The largest = 11111. . .1 in n times and the smallest = 1000. . .0 in n -1 times

i.e.

(11111111...1)_2 = ( 1 \times 2^{n-1} + 1\times 2^{n-2} + ... + 1 )_{10}

= \dfrac{1(2^n-1)}{2-1}

\mathbf{=2^n -1}

(1000...0)_2 = (1 \times 2^{n-1} + 0 \times 2^{n-2} + 0 \times 2^{n-3} + ... + 0)_{10}

\mathbf {= 2 ^{n-1}}

Hence, the smallest value is \mathbf{2^{n-1}} and the largest value is \mathbf{2^{n}-1}

3 0
2 years ago
Where could page numbers appear in a properly formatted business document?
Stels [109]
At the bottom right is the perfect place
6 0
3 years ago
Read 2 more answers
Does anyone know how I can make this return a double with 2 decimal places?
dolphi86 [110]

hi :)   .,..............

Explanation:

8 0
2 years ago
Is brainly down? Cant search anything
stealth61 [152]
You need to have WIFI
8 0
2 years ago
How to convert binary number into decimal number​
Alecsey [184]

Answer:

Multiplying by 2

Explanation:

The binary num number to decimal conversion is made by making the sum of each binary digits multiplying by 2 with raised to the power of the positional notation of digits .

Hope it is helpful to you

6 0
2 years ago
Read 2 more answers
Other questions:
  • Jeff wants to print quickly so he presses the Ctrl and the P. Jeff used a _____. macro invoice template shortcut
    15·1 answer
  • Google Slides saves your work to Google Drive. PowerPoint has the option to save to OneDrive. Both of these solutions are in the
    9·1 answer
  • ANSWER QUICKLY!
    10·1 answer
  • The graph of which function has an axis of symmetry at x=-1/4​
    15·1 answer
  • How do you get the computer to stop opening randomly
    15·2 answers
  • Which of the following is the best definition of a workplace policy?
    13·1 answer
  • When parallel parking, you should select a space that is __________ as long as your car.
    11·1 answer
  • . If you executean infinite recursive function on a computer it will executeforever.
    13·1 answer
  • Having a bad day? enjoy this front view of phinias (can't spell his name)​
    14·1 answer
  • You are creating a program that can add up the amount of money the user spent that day. Right down to the penny! What kind of va
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!