Question: 3. Create a dice rolling game. The game should allow a user to toss up to six dice at a time. Each toss of a

 3. Create a dice rolling game. The game should allow a

3. Create a dice rolling game. The game should allow a user to toss up to six dice at a time. Each toss of a die will be stored in a six-element integer array. The array is created in the main() function but passed to a new function called TossDie(). The TossDie() func- tion will take care of generating random numbers from one to six and assigning them to the appropriate array element number

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!