#include <stdio.h> #include <ctype.h> #define N 80 int main() { char str[N]; int i, letter = 0, digit = 0, space = 0, others = 0; printf("Input a string:"); gets(str); for (i=0; str[i]!='