Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix several bugs related to input text formatting #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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