Question
C++ program to simulate a simple dice rolling game. Simulations such as this with objects (i.e., dice contained in a DiceCup) interacting with other objects
C++ program to simulate a simple dice rolling game. Simulations such as this with objects (i.e., dice contained in a DiceCup) interacting with other objects (i.e., the dice roller simulated by your main program function) as well as global functions are quite common in Object-Oriented Programming. You will implement two integer containers to hold, 1) the results of numerous rolls of dice and, 2) the frequency of each possible number. You will access these containers using loops. One or both of these containers will be passed to global functions for manipulation. The results of the dice rolls will be displayed on the screen.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started