Problem: Write a program that takes, as input, a fully parenthesized, arithmetic expression and converts it to a binary expression tree. Your program should display the tree in some way and also print the value associated with the root. For an additional challenge, allow for the leaves to store variables of the form x1, x2, x3, and so on, which are initially 0 and which can be updated interactively by your program, with the corresponding update in the printed value of the root of the expression tree. Display the corresponding prefix and postfix notation.
-
Couldn't load subscription status.
- Fork 0
RenardMacorol/BSCS1DSAPROJECT
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Our First Project Collaboration in School
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published