3 * gcc scanfprob.c -o scanfprob -Wall -W -Wextra -ansi -pedantic
14 * When scanf is attempting to convert numbers, any non-numeric characters
15 * it encounters terminate the conversion and are left in the input stream.
16 * Therefore, unexpected non-numeric input ``jams'' scanf again and again.
24 * See also: http://c-faq.com/stdio/scanfjam.html
27 /* The correct way to do it */