This commit is contained in:
Alina Konoval 2025-10-12 15:02:21 +02:00
parent f8b7fea5cc
commit bc27ab8053

View File

@ -29,7 +29,7 @@ int main(void) {
}
else if (strlen(vstup) == 1 && strchr("+-*/", vstup[0])) {
if (top < 2){
printf("not enough values\n");
printf("not enough operands\n");
return 0;
}
double b = ulozisko[--top];