Question: IN C# DO NOT COPY PASTE CODE, the other code from this question is incorrect and does not do what i need A private field
IN C#
DO NOT COPY PASTE CODE, the other code from this question is incorrect and does not do what i need
A private field for the number of sides of the die.
A constructor that takes an integer between 4 and 20, inclusive and sets the number of sides of the die.
A method, rollDie(), returns the face value when the die is rolled. Use a Random number to roll the die.
Write a main method that will create two die with the same number of sides, continually roll the dice, and report the result of each roll. It should stop when snake eyes are rolled (double 1s) and report the number of rolls. You may write this as a console application or a Windows Forms application; include a screenshot of your program running with successful output.
What the end result should look like
Transcribed image text
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
