Question: USE C++ TO WRITE THIS PROGRAM Task 5.4 A player rolls three dice. Each die has six faces. These faces contain 1, 2, 3, 4,

USE C++ TO WRITE THIS PROGRAM

USE C++ TO WRITE THIS PROGRAM Task 5.4 A player rolls threedice. Each die has six faces. These faces contain 1, 2, 3,

Task 5.4 A player rolls three dice. Each die has six faces. These faces contain 1, 2, 3, 4, 5 and 6 spots. After the dice have come to rest, the sum of the spots on the three upward faces is calculated. If the sum is greater than or equal to 13 on the first roll, the player wins. If the sum is less than or equal to 6 on the first roll, the player loses. If the sum is 7, 8, 9, 10, 11 or 12 on the first roll, then that sum becomes the player's "point." To win, you must continue rolling the dice until you make your point." The player loses by rolling a sum which is greater than or equal to 15 before making the point. Player rolled 3+5513 layer uwins

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!