Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exercise_20_16 #16

Open
csv77 opened this issue Jul 14, 2017 · 0 comments
Open

Exercise_20_16 #16

csv77 opened this issue Jul 14, 2017 · 0 comments

Comments

@csv77
Copy link

csv77 commented Jul 14, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant