7. (10%) Using the operator priorities of Figure 3.15 (shown below) together with those for band #' to answer the follow
Posted: Tue Apr 12, 2022 10:24 am
7. (10%) Using the operator priorities of Figure 3.15 (shown below) together with those for band #' to answer the following: priority operator 1 Unary minus, ! 2 *,/, % 3 +,- 4 <,<=,>, >= 5 ==, != 6 && 7 (a) In function Postfix (Program 3.19, pptx Infix to Postfix Algorithm), what is the maximum number of elements that can be on the stack at any time if the input expression has n operators and delimiters? (b) What is the answer to (a) if the input expression e has n operators and the depth of nesting of parentheses is at most 6?