This commit is contained in:
Matej Hajduk 2025-10-15 17:51:18 +02:00
parent b73a5da5ff
commit aacd8414f2

View File

@ -54,7 +54,7 @@ int main(){
}
push(&mystack,num);
}
else if(strlen(x) == 1 && strchr("+-/", x[0])) {
else if(strlen(x) == 1 && strchr("+-/*", x[0])) {
if (mystack.size < 2){
fprintf(stderr, "malo cisel \n");
return 1;