uprava nasobenia delenia

This commit is contained in:
Valér Jakubčo 2021-10-21 22:22:46 +02:00
parent 364b136792
commit d3c17b1c94

View File

@ -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");