fix
This commit is contained in:
parent
7dbca0e0f6
commit
d4fbad15f2
@ -62,8 +62,8 @@ int main(){
|
||||
}
|
||||
else if (strlen(input)==1&&strchr("+-*/",input[0])){
|
||||
if (mystack.size<2){
|
||||
printf("Nedostatok hodnot");
|
||||
return 1;}
|
||||
printf("not enough operands\n");
|
||||
return 0;}
|
||||
float b=pop(&mystack);
|
||||
float a = pop(&mystack);
|
||||
float result = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user