stimpson wrote: » Your first mistake is using Java
for (int x=0; x<score.length;x++){ double y = Double.parseDouble(JOptionPane.showInputDialog("Enter the numbers or press -1 to terminate")); if(y != -1) { score[x] = y; } else { break; } }
chocolate boy123 wrote: » The max the array can hold is 10 values. We were told that we must use a sentinel controlled loop to do this so i cant use your way unfortunately