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; -}