#include int main(){ int C = 0; char Big_Wort; int count = 0; while(1){ C = getchar(); if(C == EOF) break; if(C == '\n') count++; if(C >= 'a' && C <= 'z') C = C - 'a' + 'A'; else if(C >= 'A' && C <= 'Z') C = C - 'A' + 'a'; Big_Wort = C; putchar(Big_Wort); } printf("\nCount of lines: %d\n",count); return 0; }