Aktualizovat a1/program.c

This commit is contained in:
Tomáš Vlček 2026-02-25 07:51:43 +00:00
parent 4fa460b276
commit 0a4f49d6cc

View File

@ -1,12 +1,12 @@
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
int trebaPridatNewLine = 1;
int main() int main()
{ {
int pocetRiadkov = 0; int pocetRiadkov = 0;
while (1) while (1)
{ {
int trebaPridatNewLine = 1;
int vstup = getchar(); int vstup = getchar();
if (vstup == EOF) {break;} if (vstup == EOF) {break;}