Question 14
What is the output of the following postfix expression
10 8+30 5/*6-
Answers
Answered by
0
Step-by-step explanation:
firstly u have to use the bodmass then solve the equation
Attachments:
Answered by
0
postfix expression of 10 8+30 5/*6- is as follows
- PUSH: 10 and 8 (TOS)
- Add: 10+8 = 18
- PUSH: 18 30 5 (TOS)
- Divide: 30/5 = 6
- PUSH 6
- Multiply: 18 × 6 = 108
- PUSH 180 and 6
- Subtract: 180-6 =174
- 174 is the required answer
- #SPJ2
Similar questions