hi all,
need a kind help to develop a code to read a keyboard input while performing other task.whenever there is a keyboard input it should switch to that particular
case.

Thanks in advance