i'm making an application where once enter the password user need to press enter only once and receipt will be produce. My code going well but i have a problem here whereby when user enter more than once receipt printed as how many times they press enter.
How can i make enter only once. How can i do that. PLEASE GUIDE !!!!