/* Write code to which considers the string currently saved * in the 'name' array, removes all spaces and non-alphabetical * chars from the string, and makes all alphabetical characters * lower case. */ #include #include #include #include #define NAMELEN 30 int main (void) { char name[NAMELEN]; strcpy(name, " William B. Gates"); /* BEGIN ANSWER -- do not delete this line */ // ADD YOUR CODE HERE /* END ANSWER -- do not delete this line */ printf("Name after compression: %s\n", name); return EXIT_SUCCESS; }