Update Paranthesis Matching.cpp

This commit is contained in:
wwells4 2016-10-14 01:24:38 -07:00 committed by GitHub
parent 6601c72cad
commit c2b06a019f

View File

@ -41,7 +41,6 @@ int main()
if (exp[i]=='(' || exp[i]=='{' || exp[i]=='[' || exp[i]=='<') if (exp[i]=='(' || exp[i]=='{' || exp[i]=='[' || exp[i]=='<')
{ {
push(exp[i]); push(exp[i]);
//show();
} }
else if (exp[i]==')' || exp[i]=='}' || exp[i]==']' || exp[i]=='>') else if (exp[i]==')' || exp[i]=='}' || exp[i]==']' || exp[i]=='>')
{ {