Closed pimonteiro closed 5 years ago
You are not checking for exceptions in your code.
Elaborate.
When converting from string to an int, or float/whatever the type, the functions you are using can throw an exception from what I have read.
You are not checking for exceptions in your code.
Elaborate.
When converting from string to an int, or float/whatever the type, the functions you are using can throw an exception from what I have read.
I don't think that is necessary as this is a small project where we can really trust the user INPUT. But if you prefer, i can implement an error checking, with the cost of having "ugly" code on it.
Elaborate.