This program should simulate the roll of a single die dice


Assignment

This program should simulate the roll of a single die (dice) (1-6) using the C++ random number functions. First ask the user how many times they would like to have the die (dice) rolled.

Next, have the program simulate the number of rolls of the die (dice) the user requested and keep track of which number the die (dice) landed on for each roll.

At the end of the program print out a report showing how many times the die (dice) roll landed on each number and what percentage (to two decimial places) of the total times the die (dice) roll landed on each number. Do NOT use functions or arrays on this.

Input Validation:

Do not allow the user to enter a number less than 1 as the number of times they would like to roll the dice. Use a do/while statement for the input validation.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: This program should simulate the roll of a single die dice
Reference No:- TGS02900774

Expected delivery within 24 Hours