#C6619. Taco Expression Evaluator
Taco Expression Evaluator
Taco Expression Evaluator
This problem requires you to implement an expression evaluator for a mathematical expression that contains integers, addition, and multiplication operations. The expression is given as a single line from standard input. It may contain nested parentheses. Your program should parse the expression and output the evaluated result to standard output.
All expressions are valid. For example, the expression \(3+(2\times2)\) should evaluate to 7.
inputFormat
The input consists of a single line containing a valid mathematical expression composed of non-negative integers, parentheses, the addition operator (+) and the multiplication operator (*).
outputFormat
Output a single integer which is the result of evaluating the mathematical expression.
## sample3+(2*2)
7