Question: I need this in c++ Program 2 10pts - Write a program that simulates a dice roll - Your program should run the simulation however

I need this in c++ Program 2 10pts - Write a programI need this in c++

Program 2 10pts - Write a program that simulates a dice roll - Your program should run the simulation however many times the user wants (use a do while for this). If they roll a 1, the program should stop and say, "you lose", use a variable called sum to add the result of the dice rolls, if the sum reaches 100, the program should stop and say, "you win!" If they choose to stop, output the sum of all their dice rolls. Use a counter to keep track of the many times the dice rolled, and output how many times it rolled at the end

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!