Question: In Replit, create a program that contains a separate class called Dice that has a class variable called faceValue, a constructor, a roll method that
In Replit, create a program that contains a separate class called Dice that has a class variable called faceValue, a
constructor, a roll method that generates a random number between and a print method. In your main, you
should create a Dice object to call your method, and print the results
Create the Makefile and run it through Shell.
Submit your cpp files for grading.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
