Open cms7371 opened 4 years ago
Plus should I cover all case of error? For example, when user put string as input where needs to get integer. That will causes error, but I think our lecture did not cover about exception handling, so I wonder about that case
for your first question, using normal arrays is fine
for your second question, you shouldn't cover these you should only cover cases such as entering a letter (e.g. Z) where there is no option corresponding to Z
Should I use dynamic array for structures, strings to cover various cases?
Or Can I define length of arrays with my own decision if it is enough to cover common case?