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 1-6, and a print method. In your main, you
should create a Dice object to call your method, and print the result(s).
Create the Makefile and run it through Shell.
Submit your .cpp files for grading.
 In Replit, create a program that contains a separate class called

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!