This commit is contained in:
Christian Bender 2019-02-14 18:45:22 +01:00
parent 02cf095653
commit a80d7487ae

View File

@ -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");