Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions balancedBrackets
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ bool areBracketsBalanced(string expr)
}
}

// Check Empty Stack
// Check Empty Stack return
return (s.empty());
}

Expand All @@ -68,6 +68,6 @@ int main()
if (areBracketsBalanced(expr))
cout << "Balanced";
else
cout << "Not Balanced";
cout << "Not Balanced!!";
return 0;
}