balanced parentheses
#include <iostream>
//This program works only for parantheses "()".
//Check more to get the program of balanced brackets.
using namespace std;
int is_balanced(char input[])
{
char s[100];
char last;
int top = 0;
for(int i = 0; input[i] != '