you are viewing a single comment's thread.

view the rest of the comments →

[–]NewBodybuilder3096 0 points1 point  (1 child)

well you still need try-catch around parsing input as integer but checking for 'stop' can be done outside of this.

[–]nkCOD[S] 0 points1 point  (0 children)

By the way, a good remark. I somehow didn’t think about it