Mathematics - Code Coach Challenge‼️How to consider the fact that an expression can include multiple operations⁉️🤔
My code in C++ & C, fails test 4 & 5 probably because it accepts only one operation in an expression⁉️🤔 I don't want to parse deeper in expression string because of the operators precedence‼️There must be an easier way‼️😃 I don't feel comfortable in C++ & C so help needed⁉️🤔
Actually, yeah, they want you to do longer expressions, handling operators precedence.
In Python of course it is trivial, but in C, for me it was quite a fight to get it right.
I also think it is one of the few rewarding tasks of Code Coach, so... you sure you don't want to rack your brain about it a while longer? :)