My program takes an user input integer and outputs the reverse. However I need to produce 0 if the reverse overflows a signed integer. I've tried manually with an if else statement to see if the reverse number is greater than or less than the limit but that doesn't work. How can I fix my if statement? Or is there another way of doing this that I'm missing?