Hi Bert,
Thanks for the tip - I went back and added the code tag.
When i say trouble with user input, i meant that the program will accept input when the run method is invoked, but that..(I'm sorry, I don't know the proper words) there is a disconnect between the user input and the rest of the program.
IE - I wrote the rest of the code to "do" things with the input, but it doesn't. It recognizes that input has been given, since it proceeds to the next line, but it doesn't take the information and process it. I'm asking it to take 1, 2 or 3 and do an operation based on that - it "kind" of does - but seemingly randomly.
Does that make sense? My apologies, I'm truly foundering with this language.
Also, my professor had requested that we use InputReader based on examples she provided. I will post the documentation.
edit: documentation for inputReader
Class InputReader
java.lang.Object
InputReader
public class InputReaderextends java.lang.Object
InputReader reads typed text input from the standard text terminal. The text typed by a user is then chopped into words, and a set of words is provided.
Version:
0.1
Author:
Michael Kolling and David J. Barnes
Constructor Summary
InputReader() Create a new InputReader that reads text from the text terminal.
Method Summary
java.lang.String
getInput() Read a line of text from standard input (the text terminal), and return it as a
String.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
InputReader
public InputReader()
Create a new InputReader that reads text from the text terminal.
Method Detail
getInput
public java.lang.String getInput()
Read a line of text from standard input (the text terminal), and return it as a String.
Returns:
A String typed by the user.