lala
This commit is contained in:
parent
1eb4ca6666
commit
f521f57391
@ -56,8 +56,8 @@ int main(){
|
|||||||
}
|
}
|
||||||
else if(strlen(x) == 1 && strchr("+-/*", x[0])) {
|
else if(strlen(x) == 1 && strchr("+-/*", x[0])) {
|
||||||
if (mystack.size < 2){
|
if (mystack.size < 2){
|
||||||
fprintf(stderr, "malo cisel \n");
|
printf("not enough operands\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
float a = pop(&mystack);
|
float a = pop(&mystack);
|
||||||
float b = pop(&mystack);
|
float b = pop(&mystack);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user