Обновить cv3/program.c
This commit is contained in:
parent
4206a797ab
commit
276b7f7ea1
@ -94,9 +94,11 @@ int main() {
|
||||
printf("no input\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
double a = pop(&stek);
|
||||
if (b == 0) {
|
||||
printf("division by zero\n");
|
||||
return 0;
|
||||
exit(1);
|
||||
}
|
||||
push(&stek, a / b);
|
||||
|
Loading…
Reference in New Issue
Block a user