quebra de linha ao terminar

This commit is contained in:
Blau Araujo 2025-06-19 13:00:02 -03:00
parent 28243e2f41
commit aebe5977a7

View file

@ -95,6 +95,7 @@ int main(int argc, char **argv) {
if (fgets(line, BUFSIZ, stdin) == NULL) break; if (fgets(line, BUFSIZ, stdin) == NULL) break;
fprintf(fstr, "%s", line); fprintf(fstr, "%s", line);
} }
putchar('\n');
fclose(fstr); fclose(fstr);