Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita80d748

Browse files
author
Christian Bender
committed
simplefy
1 parent02cf095 commita80d748

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎data_structures/stack/parenthesis.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,10 @@ int main(void)
100100
for (inta0=0;a0<t;a0++)
101101
{
102102
chars[SIZE];
103-
intresult;
104103
printf("\nPlease enter the expression? ");
105104
scanf("%s",s);
106-
result=isBalanced(s);
107105

108-
if (result==1)
106+
if (isBalanced(s))
109107
printf("\nYES\n");
110108
else
111109
printf("\nNO\n");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp