Sorry, I don't see your code. I'd rather not have to chase some link to find it.
Type: Posts; User: Norm
Sorry, I don't see your code. I'd rather not have to chase some link to find it.
What does the code do to "execute the string" you entered?
Post your code here on the forum if you want help with it.
You do not have to ask the user continually for more input as long as the user knows what to expect.
Have you tried entering something when the program is waiting for input?
Where is the...
The user needs to type in some input.
Your should print out a message before EVERY read/nextLine statement so the user knows he is supposed to enter something.
1)Is the program waiting for more input?
2)Does the program quickly execute and then exit?
Looking at what your code printed out was it 1) or 2) that is happening?
Can you explain what "nothing happens" means?
Is the program waiting for more input?
Does the program quickly execute and then exit?
Add some println statements that shows where the code is...
Ok, let me help you:
import java.util.*;
Can you post the code you are having problems with so we can see it?