Sponsor Area

TextBook Solutions for Jammu and Kashmir State Board of School Education 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