Update a1/program.c
This commit is contained in:
parent
ff87c1ef40
commit
c253ae8605
@ -111,6 +111,8 @@ int main()
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(is_ok)
|
||||||
|
{
|
||||||
if(count_stack(&mystack)>0)
|
if(count_stack(&mystack)>0)
|
||||||
{
|
{
|
||||||
printf("\nMissing closing brackets: ");
|
printf("\nMissing closing brackets: ");
|
||||||
@ -121,8 +123,9 @@ int main()
|
|||||||
}while(count_stack(&mystack)>0);
|
}while(count_stack(&mystack)>0);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
else if(is_ok)
|
else
|
||||||
printf("\nAll brackets OK\n");
|
printf("\nAll brackets OK\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user