From d85198c87e33ab6a784e41733966e3f18011c681 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sat, 18 Dec 2021 14:22:48 +0800 Subject: 4.10 --- 4/10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '4') diff --git a/4/10.c b/4/10.c index 1476640..6581724 100644 --- a/4/10.c +++ b/4/10.c @@ -31,7 +31,7 @@ int main(int argc, char *argv[]) { printf("Press Ctrl+D to exit\n"); while (mgetline()) { - while (type == getop(s) != 0) { + while ((type = getop(s)) != 0) { switch (type) { case NUM: push(atof(s)); -- cgit v1.2.3