I trying to display the value of a variable from a method, but I don't know why it will I can't do it. Can anyone help please?...
[Highlight]
//Java extension package
import...
Type: Posts; User: geovanniluna
I trying to display the value of a variable from a method, but I don't know why it will I can't do it. Can anyone help please?...
[Highlight]
//Java extension package
import...
Thank you guys, I'm such a dork!! Of course I'm missing the brackets.
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,...