such as \"(((3.2 * 25) - (4.3 / 2)) + 9.3)\", where each operand is a positive r
ID: 3545557 • Letter: S
Question
such as "(((3.2 * 25) - (4.3 / 2)) + 9.3)", where each operand is a positive real number, integer, or an expression,
and an operator is +, -, *, or /, with two operands and a pair of parentheses indicating the order of operations.
2. Build an expression tree from either a given (double or int) number alone, or a given (char) operator plus two sub-trees.
3. Evaluate a given expression tree.
4. Convert a given expression tree into a String, according to a given traversal order (preorder, inorder, or postorder).
hint: you need to show 3 lines one for each traversal
please write full java source