From 6be5b89cc12a91425edf03a1fa86cd01035fd543 Mon Sep 17 00:00:00 2001 From: Mikita Sidarenka Date: Tue, 5 Apr 2022 11:40:17 +0000 Subject: [PATCH] Delete 'du1' --- du1 | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 du1 diff --git a/du1 b/du1 deleted file mode 100644 index 447c1a5..0000000 --- a/du1 +++ /dev/null @@ -1,31 +0,0 @@ -#include -#include -#include -#include -#include - -int main (){ - int c; - int counter; - counter=0; - c=getchar(); - while (1==1){ - if (c=='\n') - counter=counter+1; - if (c==EOF){ - return -1; - } - if ('a' <= c && c <= 'z') { - putchar(toupper (c)); - printf("\nPočet riadkov: %d\n",counter); - break; - } else{ - putchar(tolower (c)); - printf("\nPočet riadkov: %d\n",counter); - break; - } - - putchar (c); - assert (! ferror (stdin)); - return 0; - } \ No newline at end of file