I want this Syntax Except Scanner.I know Scanner Works good for this program.
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter USN:");
String usn=br.readLine();
I want to accept both integer and character type input from the keyboard in a single line.