diff --git a/a1/program b/a1/program new file mode 100755 index 0000000..fe482bc Binary files /dev/null and b/a1/program differ diff --git a/a1/program.c b/a1/program.c index 0eeeb36..3b3e4e3 100644 --- a/a1/program.c +++ b/a1/program.c @@ -13,7 +13,7 @@ int main() { } else if (c == '\n') { putchar(c); lines++; - } else if (isprint(c)) { + } else if (c == '\t' || isprint(c)) { putchar(c); } }