Could anyone help me figure out why the outer loop stop running after just trial 1? Thanks
System.out.print("Please enter the number of trials: "); int uInput = userInput.nextInt(); for(int counter = 1; counter <= uInput; counter++) { while(randNum1 != 1) { randNum1 = randNum.nextInt(5); if(randNum1 == 1) { wins++; bottleCapNum++; } else bottleCapNum++; } }