while(!(response=='Y'||response=='N')){c.out.println("Do you wish to proceed? Y or N)try{response =c.input.readString().charAt(0)}catch(Exception ignore){response='?';}}Excepitons all for newbies, so what was the question.