I am writing code for a password at the beggining of a program. When the aloted number of unsuccessful tries is obtained, what is the coding to stop and exit the program altogether. Thank you for any help.
Printable View
I am writing code for a password at the beggining of a program. When the aloted number of unsuccessful tries is obtained, what is the coding to stop and exit the program altogether. Thank you for any help.
Hi, isurf247.
Have you tried using
System.exit(0);
Regards,
Joyous Monkey
Joyous Monkey,
Thanks for the help! That is what I needed.
isurf247:D