mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-25 06:49:36 +03:00
simplefy
This commit is contained in:
parent
02cf095653
commit
a80d7487ae
@ -100,12 +100,10 @@ int main(void)
|
||||
for (int a0 = 0; a0 < t; a0++)
|
||||
{
|
||||
char s[SIZE];
|
||||
int result;
|
||||
printf("\nPlease enter the expression? ");
|
||||
scanf("%s", s);
|
||||
result = isBalanced(s);
|
||||
|
||||
if (result == 1)
|
||||
if (isBalanced(s))
|
||||
printf("\nYES\n");
|
||||
else
|
||||
printf("\nNO\n");
|
||||
|
Loading…
Reference in New Issue
Block a user