lib/my/src/my_strupcase.c
char *my_strupcase(char *str)
{
    if (str == 0)
        return (0);
    for (int i = 0; str[i] != '\0'; i++)
        if (str[i] >= 'a' && str[i] <= 'z')
            str[i] = str[i] - 32;
    return (str);
}
/*
** EPITECH PROJECT, 2019
** my_print_alpha.c
** File description:
** print the alphabet in ascending order
*/
EPITECH PROJECT, 2019
my_print_alpha.c
File description:
print the alphabet in ascending order
EPITECH PROJECT 2019 my_print_alpha . c File description : print the alphabet in ascending order
char *my_strupcase(char *str)
{
    if (str == 0)
        return (0);
    for (int i = 0; str[i] != '\0'; i++)
        if (str[i] >= 'a' && str[i] <= 'z')
            str[i] = str[i] - 32;
    return (str);
}
char * my_strupcase ( char * str ) { if ( str == 0 ) return ( 0 ) ; for ( int i = 0 ; str [ i ] != ' \0 ' ; i ++ ) if ( str [ i ] >= ' ' && str [ i ] <= ' ' ) str [ i ] = str [ i ] - 32 ; return ( str ) ; }
EPITECH PROJECT, 2019
my_print_alpha.c
File description:
print the alphabet in ascending order
EPITECH PROJECT 2019 my_print_alpha . c File description : print the alphabet in ascending order