Scusa minomic, perché questa if è fatta da due parti ?

if((str[i]>='0'&& str[i]<='9')||(str[i]>=48&& str[i]<=57))