From 590c098937e0cfcce4531f86807b030ee345f990 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 13 May 2023 22:35:26 +0530 Subject: 7.5: v2 using more of sacnf --- 7.5/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '7.5/main.c') diff --git a/7.5/main.c b/7.5/main.c index cf5194e..b65b44d 100644 --- a/7.5/main.c +++ b/7.5/main.c @@ -11,7 +11,7 @@ int main(void) int opd2; int c; - while ((c = getop(op, MAXOP))) { + while ((c = getop(op, MAXOP)) != EOF) { switch (c) { case NUM: push(atof(op)); -- cgit v1.2.3