Quiz Date: Thu, Mar 20, 2003
Question 1: You are playing a game with three dice -- one with 5 sides (numbered 1 through 5), one with six sides (numbered 1 through 6) and one with 7 sides (number 1 through 7). A winning roll has two requirements:
Write a Java program which rolls the three dice 100k times, and uses the results of these 100k rolls in order to estimate the probability of a winning roll. Print your answer out as a percentage, and use double math in computing your answer for maximal accuracy.
See Course Home Page.