Skip to content

Exercise_20_16 #16

Open
Open

Description

@csv77

Hi,
I tested this program, and I think something is wrong:
if I try to convert to following expression: 2 * (1 * 2 + 3), I will get 2 1 2 3 + * , instead of 2123+*.
I made a different solution with one stack for the operators and parentheses with the help of the conversion rules on this link:
http://csis.pace.edu/~wolf/CS122/infix-postfix.htm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions