Sponsor Area

TextBook Solutions for Board of High School and Intermediate Education Uttar Pradesh Class 12 Computer And Communication Technology Computer Science With Python Chapter 12 Boolean Functions And Reduce Forms

Question 1
CBSEENCO12011546

Evaluate the following Postfix notation of expression:
2,3,*,24,2,6,+,/,-

Solution

Element Stack

Contents

2

2

3

2,3

*

6

24

6, 24

2

6, 24, 2

6

6, 24, 2, 6

+

6, 24, 8

/

6, 3

 

3

Sponsor Area