Dynamic Linked Lists and File Manipulation/assign5.c
void formatName(char *string) {
    
    char *temp = string;
    
    while(*temp != '\0'){
        *temp = tolower(*temp);
        temp++;
    }    
    
    *string = toupper(*string);
}
/*
    formatName: converts a string to have the first letter upper-case
    input: the string to convert (string)
*/
converts a string to have the first letter upper-case
input: the string to convert (string)
converts a string to have the first letter upper - case input : the string to convert ( string )
void formatName(char *string) {
    char *temp = string;
    while(*temp != '\0'){
        *temp = tolower(*temp);
        temp++;
    }    
    *string = toupper(*string);
}
void formatName ( char * string ) { char * temp = string ; while ( * temp != ' \0 ' ) { * temp = tolower ( * temp ) ; temp ++ ; } * string = toupper ( * string ) ; }
formatName: converts a string to have the first letter upper-case
input: the string to convert (string)
formatName : converts a string to have the first letter upper - case input : the string to convert ( string )