Question: c++ Create a program that rolls 2 six-sided dice and prints the total of the two dice to the screen. Be sure to separate each

c++

Create a program that rolls 2 six-sided dice and prints the total of the two dice to the screen. Be sure to separate each result somehow (spaces, commas, new lines, etc.). Have this repeat one million times, and keep a running total of sevens and twelves rolled. Print out the total of each at the end.

Notes:

#include //needed for random

#include //needed for time

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!