Lets say I have the expression 3*(5+2); if that expression were in the source code of a C++ program the compiler would evaluate it to be 21. Is there a way I can make the compiler evaluate an expression if it is input??
****I only need +,-,/, and * operators nothing else, along with the use of parentheses****