From d661724ffc5d7bb07c1049ee150b20cd2bf17c3b Mon Sep 17 00:00:00 2001 From: Pavlo Tverdyi Date: Sat, 29 Feb 2020 18:27:24 +0100 Subject: [PATCH] ryr --- program.c | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 program.c diff --git a/program.c b/program.c deleted file mode 100644 index b0eb4ea..0000000 --- a/program.c +++ /dev/null @@ -1,28 +0,0 @@ -#include -#include -#include - -int main() -{ - char simb; - int riad=0; - while(1){ - simb=getchar(); - if(islower(simb)){ - simb-=32; - } - else if (isupper(simb)){ - simb+=32; - } - else if(simb==EOF){ - break; - } - putchar(simb); - if(simb=='\n'){ - riad++; - } - } - printf("%d",riad); - return 0; -} -