Изменил(а) на 'du1/program.c'

This commit is contained in:
Vladyslav Korzun 2023-02-17 12:24:11 +00:00
parent 16b41f5381
commit b91f44c832

View File

@ -7,7 +7,6 @@ int count = 0;
int riadok = 0;
while(c != EOF){
c = getchar();
if(c != 10){
if((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')){
if(islower(c)){
c = toupper(c);
@ -27,11 +26,6 @@ printf("%c\n", c);
riadok++;
}
}
}
else{
printf("\n");
riadok++;
}
count = 0;
}
printf("\nPočet riadkov: %d\n", riadok);