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