From 797d1387059f35fb5e7da74a75c204576ac0c584 Mon Sep 17 00:00:00 2001 From: sethanurag89 <53341363+sethanurag89@users.noreply.github.com> Date: Tue, 1 Oct 2019 20:58:09 +0530 Subject: [PATCH] Update calc.c --- calc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calc.c b/calc.c index 66408e2..76d0f4c 100644 --- a/calc.c +++ b/calc.c @@ -13,13 +13,13 @@ double pop(void); int main() { - int type; + int type1; double op2; char s[MAXOP]; - while((type = getop(s)) != EOF) + while((type1 = getop(s)) != EOF) { - switch(type) + switch(type1) { case NUMBER: push(atof(s));