A quit game function

Hi there I'm currently working in java code, and i would really like to know how to make so if the USER types STOP in the console the program would exit out.

Thanks

Answers

Sign In or Register to comment.