I need to solve complex math equations like 1 + 1 - (2 + 4 * 3) or (6 - 8 / 2) + 3. So far I have the code to solve inf
Posted: Fri Jul 01, 2022 5:43 am
I need to solve complex math equations like 1 + 1 - (2 + 4 * 3) or (6 - 8 / 2) + 3. So far I have the code to solve infix and postfix as well as code to convert infix to postfix and viceversa. However, the challenge is to not use the Shunting Yard Algorithm, therefore, my question is what is an alternative method to solve these equations?