Skip to content

Instantly share code, notes, and snippets.

View SAY-droid427's full-sized avatar
🎯
Focusing

Sayani Mallick SAY-droid427

🎯
Focusing
View GitHub Profile
@SAY-droid427
SAY-droid427 / InfixToPostfix.cpp
Created April 5, 2020 08:46 — forked from mycodeschool/InfixToPostfix.cpp
Infix to Postfix conversion in C++ using stack. We are assuming that both operators and operands in input will be single character.
/*
Infix to postfix conversion in C++
Input Postfix expression must be in a desired format.
Operands and operator, both must be single character.
Only '+' , '-' , '*', '/' and '$' (for exponentiation) operators are expected.
*/
#include<iostream>
#include<stack>
#include<string>