Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.26 KB | None | 0 0
  1. public class PairOfDice
  2. {
  3.   Die die_1 = new Die(6);
  4.   Die die_2 = new Die(6);
  5.  
  6. public static void main(String[] args)
  7. {
  8.   PairOfDice dice = new PairOfDice();
  9.   int counter = 1;
  10.  
  11.   while (counter < 1001)
  12.   {
  13.     counter++;
  14.     dice.roll();
  15.   }
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement