int [] storeNumber = new int[10];
for(int i = 0; i < 10; i++)
userInput = JOptionPane.showInputDialog("Enter number:");
storeNumber[i] = Integer.parseInt(userInput); (This line does not work, anyone know why? error: "i cannot be be resolved to a variable")
if anyone can help I would really be thankful.