• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Infix to-postfix examples
 

Infix to-postfix examples

on

  • 27,750 views

 

Statistics

Views

Total Views
27,750
Views on SlideShare
27,734
Embed Views
16

Actions

Likes
0
Downloads
183
Comments
0

1 Embed 16

http://192.168.220.134 16

Accessibility

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Infix to-postfix examples Infix to-postfix examples Document Transcript

    • Examples of Infix-to-Postfix Conversion Infix expression: a+b*c-d/e*f Token operator stack  top postfix string A a + + B ab * +* C ABC - + ABC* ABC*+ - D ABC*+d / -/ E ABC*+de * - ABC*+de/ -* F ABC*+de/f - ABC*+de/f* ABC*+de/f*- Infix expression: (a+b*c-d)/ (e*f) Token operator stack  top postfix string ( ( a a + (+ b ab * (+* c abc - (+ ABC* ( ABC*+ (- d abc*+d ) ABC*+d- / / ( /( e abc*+d-e * /(* f abc*+d-ef ) /( abc*+d-ef*
    • / ABC*+d-ef*/