funguje
This commit is contained in:
parent
ef75bb1915
commit
3916fb6acd
@ -102,6 +102,11 @@ int main()
|
||||
printf("division by zero\n");
|
||||
return 0;
|
||||
}
|
||||
if(mystack.size==1)
|
||||
{
|
||||
printf("not enough operands\n");
|
||||
return 0;
|
||||
}
|
||||
float op_num=pop_stack(&mystack,input);
|
||||
push_stack(&mystack,op_num);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user