Update 'cv1/program.c'

This commit is contained in:
Tamáš 2024-02-21 15:38:23 +00:00
parent 37c601b2ee
commit 63ceb32dc7

View File

@ -9,6 +9,7 @@ int main() {
if (c >= 'a' && c <= 'z') {
c = c - 'a' + 'A';
}
else if (c >= 'A' && c <= 'Z') {
c = c - 'A' + 'a';
}
@ -20,6 +21,10 @@ int main() {
putchar(c);
}
if (lines_count > 0) {
putchar('\n');
}
printf("Lines count: %d\n", lines_count);
return 0;