if(userInput == quit)
needs to be
if(userInput.equals("quit"))
If you want to keep the loop alive whilst the user enteres values, I suggest a 'while' loop.
Then inside that you can add the...
Type: Posts; User: JavaPF
if(userInput == quit)
needs to be
if(userInput.equals("quit"))
If you want to keep the loop alive whilst the user enteres values, I suggest a 'while' loop.
Then inside that you can add the...