Update cv3/program.c
This commit is contained in:
parent
1ab3b976a6
commit
7bd14359e4
@ -104,8 +104,8 @@ int read(struct stack *s) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
printf("no input\n");
|
printf("bad input\n");
|
||||||
exit(1); // Exit on invalid input
|
exit(0); // Exit on invalid input
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user