Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PairOfDice
- {
- Die die_1 = new Die(6);
- Die die_2 = new Die(6);
- public static void main(String[] args)
- {
- PairOfDice dice = new PairOfDice();
- int counter = 1;
- while (counter < 1001)
- {
- counter++;
- dice.roll();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement