Question: Die die = new Die(); int count = 0; for(int num = 1; num = 100; mun ++) if(die.roll() ==3) count ++; System.out.println(count);
Die die = new Die(); int count = 0; for(int num = 1; num = 100; mun ++) if(die.roll() ==3) count ++; System.out.println(count);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
