This is what the code looks like now and it works, any other suggestions as far as good coding practice for C?
Code:
#include <stdio.h>
int main( ) {
int let, dig, other, space, c;
let = dig = other = space = 0;
printf("Please type in your letters and we will count the characters?\n");
while ((c=getchar( )) != '\n' )
if( ('A'<=c && c<='Z') || ('a'<=c && c<='z') ) ++let;
else if( '0'<=c && c<='9' ) ++dig;
else if( c == ' ' ) ++space;
else ++other;
printf("%d letters, %d digits, %d spaces, %d others\n", let, dig, space, other);
return 0;
}