Il fatto è che i char hanno un segno ... Prova con

if((unsigned char)stringa[i]>'z')