9.1
1 #include <stdio.h> 2 #include <ctype.h> 3 #include <string.h> 4 5 #define N 100 6 7 int main (void) 8 { 9 int i = 0; 10 char strarray[N+1]; //= "Hello world! 3I'm here!"; 11 char *input = strarray; 12 char ch; 13 unsigned int cont = 0; 14 int ctr=0, spc=0, num=0, low=0, upp=0, puc=0, upr=0; 15 float ctrf=0, spcf=0, numf=0, lowf=0, uppf=0, pucf=0, uprf=0; 16 17 printf("Please enter a string: "); 18 19 while (( ch = getchar() ) != ' ') 20 { 21 *(input + i) = ch; 22 i++; 23 } 24 *(input + i) = '