I know how to terminate user input using scanf for char arrays...but what type of value can be used in the case for int input? Obviously not some int, if you want to allow the user to input any range of viable integers.
So, I guess my question, what would be a good sentinel value for exiting the loop containing the scanf statements?
I know I could do conversion from char to int; but going that route seems overly complicated for this endeavor...
thanks,
shelley