@@ -0,0 +1,236 @@
+// http://codingbat.com/prob/p115233%0A%0Apublic int withoutDoubles(int die1, int die2, boolean noDoubles) %7B%0A  if (noDoubles && die1 == die2) %7B%0A    return (die1 == 6) ? die1 + 1 : die1 + die2 + 1;%0A  %7D%0A  else %7B%0A    return die1 + die2;%0A  %7D%0A%7D%0A

Create withoutDoubles.java