Hi,
Thanks I will try the scanner class.
David
Type: Posts; User: CommisarDave
Hi,
Thanks I will try the scanner class.
David
Hi,
As I said the program dosen't allow me to enter a thing it just stops there and the error message comes up. I'm sorry I don't know what the method's doc is.
Thanks David
Hi,
The error message is:
Exception in thread "main" java.lang.IllegalArgumentException:
Illegal boolean input value.
Expecting one of: true, false, t, f, yes, no, y, n, 0, or 1
at...
Hi, This is a really simple question but I've been stuck on this for a while now. Does this line of code read a boolean input from the console?
userInput = TextIO.getlnBoolean();
I have looked...