From 5ecc70261a2bd51e8ae45ac66dacfaed1bea490c Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Thu, 17 Mar 2022 20:23:29 +0100 Subject: [PATCH] add --- du1/program.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 du1/program.c diff --git a/du1/program.c b/du1/program.c deleted file mode 100644 index 70115fc..0000000 --- a/du1/program.c +++ /dev/null @@ -1,24 +0,0 @@ -#include - - int main(){ - int counter=0, Sym; - char OutSym; - - while(1){ - Sym=getchar(); - if(Sym=='\n'){ - counter++; - } - if(Sym==EOF){ - //counter++; - break; - } - else if(Sym<='Z'&&Sym>='A')Sym +=32; - else if(Sym<='z'&&Sym>='a')Sym-=32; - //counter++; - OutSym=Sym; - putchar(OutSym); - } - printf("\nPočet riadkov: %d\n",counter); - return 0; -}