In class, we’ve learned the Scanner class for input, so we say
Scanner keyboard = new Scanner(System.in)
and then if we wanted to scan an integer, one would say
num = keyboard.nextInt()
for example, or if it was a String,
keyboard.nextLine()
How does one do it for a character?
keyboard.nextChar() doesn't seem to work.
How about
keyboard.next()? If you really need achar, usekeyboard.next().charAt(0).