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 up the textbook I am using(Introduction to Programming Using Java, Sixth Edition by David Eck) and this is what it says to put for a boolean input. The bottom console says that there is an illegal boolean input value. But the console wont let the user input anything the program just stops at that line. The console highlights this line as the problem but I can't see a problem.
Any help would be appreciated.