Can you explain? What does it do now and what do you want it to do differently?
Do you want the program to read a new value every time the loop goes around? Putting the call to the readInt()...
Type: Posts; User: Norm
Can you explain? What does it do now and what do you want it to do differently?
Do you want the program to read a new value every time the loop goes around? Putting the call to the readInt()...
See the update section of post #4
Please copy the EXACT text of the error message and paste it here. What you posted does not make sense. There is no class: java.lang.string. The String class's name starts with a S not s
---...
Can you explain what "doesn't work" means? If there are errors, copy the full text and pasted it here.
If the program doesn't do what you want, please explain what you want it to do differently.
...