Question: Problem Statement: Design and implement a program that rolls two dice. Ask the user to input a number between 2 and 1 2 . Then,
Problem Statement: Design and implement a program that rolls two dice. Ask the user to input a number between and Then, roll your dice by using a random function to generate a random number representing one of the sides. Output the result of each die and the combined total of the two sides. Continue rolling the dice until the total equals what the user entered. Output the number of tries it took.
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
