when input is invalid,for example: no numeric input in numeric input box,the program simply crash,need a better way to handle this
when input is invalid,for example: no numeric input in numeric input box,the program simply crash,need a better way to handle this