TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

BaseMax / Infix2PrefixC

This is a simple program that converts infix expressions to prefix 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.

1 0 Language: C License: GPL-3.0 Updated: 3mo ago

README

Infix To Prefix Converter

This is a simple program that converts infix expressions to prefix 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 Infix2Prefix Infix2Prefix.c
  3. Run the program using ./Infix2Prefix

Example

Enter an infix expression: (2+4)*6
The prefix expression is: *+246

License

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

© Copyright Max Base, 2022

0 AIs selected
Clear selection
#
Name
Task