Skip to content

This is a simple program that converts infix expressions to postfix expressions. It is written in C and uses a stack to store the operators. It is a simple program that I wrote to show how to use a stack in C.

License

BaseMax/Infix2PostfixC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Infix To Postfix Converter

This is a simple program that converts infix expressions to postfix expressions. It is written in C and uses a stack to store the operators. It is a simple program that I wrote to show how to use a stack in C.

How to use

  1. Clone the repository
  2. Compile the program using gcc -o Infix2Postfix Infix2Postfix.c
  3. Run the program using ./Infix2Postfix

Example

Enter an infix expression: (2+4)*6
The postfix expression is: 642+*

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

© Copyright Max Base, 2022

About

This is a simple program that converts infix expressions to postfix expressions. It is written in C and uses a stack to store the operators. It is a simple program that I wrote to show how to use a stack in C.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages