uprava nasobenia delenia
This commit is contained in:
parent
364b136792
commit
d3c17b1c94
@ -58,7 +58,7 @@ int main(){
|
||||
if(char_value[0] == '/'){
|
||||
float a = pop_stack(&myStack);
|
||||
float b = pop_stack(&myStack);
|
||||
float c = a/b;
|
||||
float c = b/a;
|
||||
push_stack(&myStack, c);
|
||||
print_stack(&myStack);
|
||||
printf("\n");
|
||||
|
Loading…
Reference in New Issue
Block a user