/programy/C/pismena/pismena.c |
---|
11,13 → 11,19 |
int znaky = 0; |
char c; |
*mala=*velka=*cisla=0; |
while ((c=getchar()) != '\n') |
{ |
znaky++; |
if('a'< c <'z') *mala++; |
if('A'< c <'Z') *velka++; |
if('0'< c <'9') *cisla++; |
// if('a'< c <'z') (*mala)++; |
// if('A'< c <'Z') (*velka)++; |
// if('0'< c <'9') (*cisla)++; |
if (isdigit(c)) (*cisla)++; |
if (islower(c)) (*mala)++; |
if (isupper(c)) (*velka)++; |
} |
return znaky; |
/programy/C/pismena/pismena.exe |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |