Homework/HW05/porter.cc
int isvalid(char l)
{
    if ( (l >= 'a') && (l <= 'z') )
        return(0);
    if ( (l >= 'A') && (l <= 'Z') )
        return(0);
    if ( (l >= '0') && (l <= '9') )
        return(0);
    return(1);
}
// returns 0 if the character is a letter or a digit, 1 otherwise
returns 0 if the character is a letter or a digit, 1 otherwise
returns 0 if the character is a letter or a digit 1 otherwise
int isvalid(char l)
{
    if ( (l >= 'a') && (l <= 'z') )
        return(0);
    if ( (l >= 'A') && (l <= 'Z') )
        return(0);
    if ( (l >= '0') && (l <= '9') )
        return(0);
    return(1);
}
int isvalid ( char l ) { if ( ( l >= ' ' ) && ( l <= ' ' ) ) return ( 0 ) ; if ( ( l >= ' ' ) && ( l <= ' ' ) ) return ( 0 ) ; if ( ( l >= ' ' ) && ( l <= ' ' ) ) return ( 0 ) ; return ( 1 ) ; }
returns 0 if the character is a letter or a digit, 1 otherwise
returns 0 if the character is a letter or a digit 1 otherwise