skuska
This commit is contained in:
parent
e0d6b4ed32
commit
b5341ca975
@ -9,7 +9,7 @@ int main() {
|
|||||||
line_count++;
|
line_count++;
|
||||||
} else {
|
} else {
|
||||||
if (!((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z')) && !(ch >= 32 && ch <= 126)) {
|
if (!((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z')) && !(ch >= 32 && ch <= 126)) {
|
||||||
continue; // Skip control characters and non-printable characters
|
continue;
|
||||||
}
|
}
|
||||||
putchar((ch >= 'a' && ch <= 'z') ? (ch - 32) : (ch + 32));
|
putchar((ch >= 'a' && ch <= 'z') ? (ch - 32) : (ch + 32));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user