I am trying to find a way to take a char input from the keyboard.
char
I tried using:
Scanner reader = new Scanner(System.in); char c = reade
you just need to write this for getting value in char type.
char c = reader.next().charAt(0);