How can I detect strtol() error and print out meaasge like this way??
$ ./int Please input an integer number: 2090 Your input number is: 2090 $ ./int Please