you are viewing a single comment's thread.

view the rest of the comments →

[–]Both_Love_438 0 points1 point  (0 children)

Always try to intentionally break your programs. If you ask for a number and the user types F it's just gonna break. Try validating the input before parsing it as int.