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