Question: Please flow the institutions and its a C++ program *6.22 (Game: craps) Craps is a popular dice game played in casinos. Write a program to

Please flow the institutions and its a C++ program
 Please flow the institutions and its a C++ program *6.22 (Game:
craps) Craps is a popular dice game played in casinos. Write a

*6.22 (Game: craps) Craps is a popular dice game played in casinos. Write a program to play a variation of the game, as follows: Roll two dice. Each die has six faces representing values 1, 2, , and 6, respec- tively. Check the sum of the two dice. If the sum is 2, 3, or 12 (called craps), you lose; if the sum is 7 or 11 (called natural), you win; if the sum is another value i.e., 4, 5, 6, 8, 9, or 10), a point is established. Continue until you roll either a 7 you lose) or the same point value (you win. Your program acts as a single player. Here are some sample runs: You rolled 5 6 11 You win You rolled 1 + 2 = 3 You lose You rolled 4+48 point is 8 You rolled 6+ 28 You win You rolled 3 + 2 = 5 point is 5 You rolled 2 + 57 You lose

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!