As an idea. It is enough to check whether the result of the addition is less than 10 and greater than -10 if the numbers are signed.:)
solved Addition of 2 numbers and give corresponding outputs depending on the number of digits got from the addition using C [closed]