Open IYB-Mata opened 6 months ago
Great job on the new features and modifications to improve the program's robustness! Here are my comments and expressions:
Overall, your changes and additions have greatly improved the program. Keep up the great work guys! 😎
We have added new features and made some modifications to improve the program's robustness to reduce the error rates.
Here's the program with added new features.
Changes:
line 5: added 1 more value to MAX_ACCOUNTS to create exactly 10 bank accounts.
line 60: in the createNewAccount method, I have changed unnecessary modifications in the value of the account like "-1" on accountCount, We just simplified it by moving the incrementation after the display.
line 67-78(performTranscation method): We added a simple feature that tracks if the user's input is in integer, otherwise prompts the user back to the menu.
line 88-93: We added the same feature.
Kindly test and debug the program. Feel free to comment if there are some errors or bugs so we can fix it immediately. THAAANKKKS!