Skip to content

Conversation

@KyleWinter
Copy link

The original system had issues in the menu interface as it couldn't properly handle alphabetic inputs. For instance, when it expected options like "1-6," entering the letter "e" would cause the program to exit abruptly.
This was because it used scanner.nextInt(), which couldn't accept non-integer inputs.
To address this, I introduced a new class called MyFormatter to standardize user input. By calling the appropriate methods of the MyFormatter class, users could be prompted to input the correct options to navigate to the next interface in the system.
This enhancement significantly improved the system's usability.

@KyleWinter KyleWinter changed the title fix some bug Fix several bugs related to input text formatting Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant