Aktualizovat „du1/program.c“
This commit is contained in:
parent
fe9d5084c0
commit
a68cea6009
@ -11,6 +11,9 @@ char word;
|
|||||||
}
|
}
|
||||||
if (word == '\n') {
|
if (word == '\n') {
|
||||||
count++;
|
count++;
|
||||||
|
for(int i =0;i<count;i++){
|
||||||
|
printf("\n");
|
||||||
|
}
|
||||||
printf("\nPočet riadkov: %d\n", count);
|
printf("\nPočet riadkov: %d\n", count);
|
||||||
}
|
}
|
||||||
putchar(word);
|
putchar(word);
|
||||||
|
Loading…
Reference in New Issue
Block a user