(5) For Loop – Dice Counter

Construct a program that simulates rolling a dice a number of times that is specified by the user. Analyse each roll and then display the average score and how many of each scores on the dice were obtained.

Scroll to Top