Infix expression : 2+³√-(4+4) Evaluation of which results in 0.
However, when converted into postfix and evaluated, it gets confusing.
Postfix expression : 244+-³√+
It gets confusing at the negation operator, to evaluate it correctly, we should only take one operand and negate it, however the negation operator(subtraction) can also take two operands and just subtract, i can't figure out a way to tell the code correctly whether to pick just one operand or two, it's for a Coding project but I feel like its more of a maths question.