You are responsible for writing a program that will keep track of rolling two N-sided dice 100,000 times. The number of sides, N, might be 6, 100, or even 200. Your group should discuss how to create a program that will work for any N, where N --- the number of sides --- is known to you but might change. It would be nice if your program prompted the user for how many times to roll the two N-sided dice.
You CANNOT use vectors/arrays in writing this program (in case you know about these things). Hint: consider writing a program that prints a program. You can sketch the solution if you don't have time to write the entire program.
-2: *
-1: **
0: ***
1: ***
2: **
You don't need to have a chart, a table of numbers is ok. You are to
decide what private data member(s)/field(s) are needed to keep track of
this information and how the field(s) will be initialized. Adding new
data members will require changing some of the member functions to
update the fields. You should also write a member function Chart
that displays the information stored in the private section. You
can display the information in any way.
You SHOULD use a vector for this part of the assignment.