maintenance.c
/* print each string in a nested character array followed by 
its comparison value to its predecessor */
print each string in a nested character array followed by
its comparison value to its predecessor
print each string in a nested character array followed by its comparison value to its predecessor
void print_names(char names[][MAX_CHARS], int size)
{
    for (int i = 1; i < size; i++)
    {
        printf("%s %d\n", names[i], strcmp(names[i], names[i - 1]));
    }
}
void print_names ( char names [ ] [ MAX_CHARS ] , int size ) { for ( int i = 1 ; i < size ; i ++ ) { printf ( " \n " , names [ i ] , strcmp ( names [ i ] , names [ i - 1 ] ) ) ; } }
print each string in a nested character array followed by
its comparison value to its predecessor
print each string in a nested character array followed by its comparison value to its predecessor