Обновить cv3/program.c

This commit is contained in:
Yevhen Kozirovskyi 2024-10-17 17:54:03 +00:00
parent bb34fa76cd
commit 80f7810cf7

View File

@ -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;