//This program illustrates how to use the random number generator to simulate tossing two dice. //Author Carol Conway 8/28/20 //File DieTossRandom.cpp #include #include //needed to use the random number generator #include //needed to call the system time to seed the generator using namespace std; int main() { int die1, die2; //The number spots on each die of a pair of dice const int MIN_DIE = 1; const int MAX_DIE = 6; unsigned seed = time(0); //the current system time in seconds srand(seed); //start the random number generator as a different point each run die1 = (rand()% (MAX_DIE - MIN_DIE + 1)) + MIN_DIE; die2 = (rand()% (MAX_DIE - MIN_DIE + 1)) + MIN_DIE; cout << "You tossed a " << die1 << " and a " << die2 <