From 30d568c55b3f4a8e56801f63cd7455605db8e6b5 Mon Sep 17 00:00:00 2001 From: Patrik Seman Date: Thu, 23 Feb 2023 15:50:08 +0100 Subject: [PATCH] program.c --- du1/program | Bin 17864 -> 17864 bytes du1/program.c | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/du1/program b/du1/program index 4f49effe39970cb3796cbd06f55e154a34a3db85..59023299af94308a8a92a9b2eb104b251368fdee 100755 GIT binary patch delta 282 zcmX@n&3K}lal;iRk<*6xtp_{2-)&yJ@k8Se_eht|e`jxg!8Cy{-Kx3vPeL6JkgTd_ zYtH?n@LC4Qb^wb+0YzMaB3wWbu2Pm}*B^}Cu75g@zo`HB|NrY96ZUg4FfhC*0&==t ze{>%6=(V-tV_?_;6l8dj0~7_bP9El$cVXCkUr?P-@JMfJi9%6kVoG*?nU#WS3fE+D zg{%B+APtUu0&PsrylhO3n|~{`@H4hec4QKtJl#MM$l7TT2P7p7s~9UMPd1E_63AfX zOK0T_VC7~mn8(V?%%{i7s6L;SgClY?vk@!fW*%c3HpaHio|gC786`GrI@U8Y)=qwC QDm;0QiwYzE?GW*uek^%*)19vH7<`3qND+WJf0P$cc930m-vm3E8PM%=Owwce^ijA>$v!~^Kc1H2dnvV6% VjFpognhH= 'A' && c <= 'Z'){ c=c-'A'+'a'; //male pismeno na velke } + else if(c=='\n'){ + n++; + } } else{ break; } - n++; putchar(c); } printf("\n"); -printf("Počet riadkov: %d\n", n/2); //vypise pocet zpouzitych znakov +printf("Počet riadkov: %d\n", n); //vypise pocet zpouzitych znakov return 0; } \ No newline at end of file