java.util.InputMismatchException


please check my code is running fine and giving the correct output but error