Skip to content

masterujjval/Infix-to-postfix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Infix-to-postfix

Program to convert infix expression to postfix expression.

Stack data structure has been used for the conversion of the the infix expression. for e.g A+B-C to AB+C-. It will convert convert expression as given in the above example.

In this program instead of using "Stack" library which is already available for C++, direct use of stack data structure has been used which also explains the workings of stack. Any infix expression can be converted into a postfix expression using this conversion tool.

To run the program:

  • Fork and clone the repo.
  • Make sure gcc is installed in your system to run the code using terminal
  • Run the postfix.cpp in vs code
  • Type ./postfix to run the program in the terminal

Screenshot from 2023-09-05 10-11-23

Accepting any kind of contribution.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages