I was just going through some of the solutions posted in Q&A forum for is_int
exercise and works fine when we hard code the input.
But looks like it crashes when we ask the user to input the values and check
for all the conditions.
Any better solutions to handle this situation as well?.