Here is my problem, I have to ask the 'user' of the program a yes or no question. They must answer yes or no, therefore a scanner class is sufficient here, done all that. But, now I want my program to tangent in different ways depending on their answer. If they answer no, NO, NO!!!, nO or n, I want all these to work if they answer like this, same for Yes, Y, yes etc.
If they answer yes I want my program to be able to continue, if they answer no, I want it to end how I please. I just don't know whether or not i need to use "if" or "else", or some sort of loop or what?
This may be a very simple problem for you guys but I am new to java, if anyone could give me an answer to these problems It would mean alot, thanks.