Update cv3/program.c

This commit is contained in:
Marat Izmailov 2024-10-17 11:47:16 +00:00
parent 4cbd8c399f
commit 2bcce5a191

View File

@ -46,6 +46,7 @@ int main() {
int has_input = 0;
while (1) {
if (!fgets(input, sizeof(input), stdin)) {
break;
}
@ -111,7 +112,9 @@ int main() {
}
if (!has_input) {
if (has_input) {
printf("\n");
} else {
printf("no input\n");
}