There is no input n and direct parentheses
How to take sample input of this without n
Hi @rakshitgangwar
There are two ways to do it :
-
either use char array like :
char s[100];
cin>>s; -
or use string like :
string s;
cin>>s;
There is no input n and direct parentheses
Hi @rakshitgangwar
There are two ways to do it :
either use char array like :
char s[100];
cin>>s;
or use string like :
string s;
cin>>s;