This program gets a postfix expression from the user along with the user’s choice on whether to convert to prefix or infix. The program then builds an expression tree representing the expression and uses that expression tree to complete the desired conversion. It also prints the evaluation of the original expression (by using the expression tree).
It is recommended to clone this repository to your local machine through VS Code.
The program must be compiled through the command line with the following statement:
make
This will produce the executable for expressiontrees.c
The program must then be run through the command line with the following statement:
./expressiontrees