Question: Write a program that will: - display menu asking user to roll one, two dice, or quit. - if rolling selected, generate random faces up

Write a program that will: - display menu asking user to roll one, two dice, or quit.

- if rolling selected, generate random faces up and report

- use a function to roll one die

- use a function to print menu, read and validate response (keep reading until valid input)

- use proper standards

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!