Why my Code Is throwing An error

Exception in thread “main” java.util.NoSuchElementException: No line found
at java.util.Scanner.nextLine(Scanner.java:1540)
at Main.main(Main.java:9)

NoSuchElementException indicates that the element being requested does not exist. so try to check your loops if they are running for more iterations than needed

mam plz check my code.My code is running properly in eclipse ide

please share your code

Mam i have shared my code with you