Изменил(а) на 'du1/program.c'
This commit is contained in:
parent
4b8f51c1a1
commit
ba86754445
@ -7,6 +7,10 @@ int count = 0;
|
||||
int riadok = 0;
|
||||
while(c != EOF){
|
||||
c = getchar();
|
||||
if(c == 10){
|
||||
printf("\n");
|
||||
riadok++;
|
||||
}
|
||||
if(islower(c)){
|
||||
c = toupper(c);
|
||||
printf("%c\n", c);
|
||||
@ -18,6 +22,7 @@ c = tolower(c);
|
||||
printf("%c\n", c);
|
||||
riadok++;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
}
|
||||
printf("\nPočet riadkov: %d\n", riadok);
|
||||
|
Loading…
Reference in New Issue
Block a user