There are a few excellent ways to reduce your boredom. :cool:

First one is to include <ctype.h>, which has all kinds of functions for testing chars: isdigit(), ispunct(), isalpha(), isupper(),...