title: I am trying to make three dice roll simultaneously until they land on the number 6
body: <p>My program is supposed to print the number of rolls before all three dice come up all sixes.</p>
  
  <p>This is what I have so far, but I am getting outputs that are small numbers like 1 I do not think it can take 1 time to roll all three sixes. I am expecting larger numbers.</p>
  
  <pre><code>Random rand = new Random();
      int numOfRolls = 0; //starts at zero for the number of rolls
      int x;
      int y;
      int z;
      do {
        numOfRolls++;
        x = rand.nextInt(6) + 1;
        y = rand.nextInt(6) + 1;
        z = rand.nextInt(6) + 1;
      } while (x == 6 || y == 6 || z == 6);
      System.out.println(numOfRolls);
  </code></pre>