Обновить cv3/program.c
This commit is contained in:
parent
bb34fa76cd
commit
80f7810cf7
@ -25,7 +25,7 @@ int isFull(StEk* stek) {
|
|||||||
|
|
||||||
void push(StEk* stek, double chislo) {
|
void push(StEk* stek, double chislo) {
|
||||||
if (isFull(stek)) {
|
if (isFull(stek)) {
|
||||||
printf("not enough operands\n");
|
printf("full stack\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
stek->chisla[stek->vershina] = chislo;
|
stek->chisla[stek->vershina] = chislo;
|
||||||
|
Loading…
Reference in New Issue
Block a user