If user inputs not 0,1,2, the default: is System.exit(0). thus I think we do the same "exit" for non-integer value. Just avoid to throw exception