Skip to content

Program that evaluates postfix expression and converts it to prefix or infix notation.

Notifications You must be signed in to change notification settings

emmalu00/expression-trees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expression-trees

About

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).

Running the Program

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

About

Program that evaluates postfix expression and converts it to prefix or infix notation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published