From eaff9d7eb1be465482ff385c34e8c8813b661e10 Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Mon, 2 Nov 2020 16:00:22 +0100 Subject: [PATCH] polish calc --- cv3/program.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 73ca78b..e52c75c 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -44,10 +44,7 @@ void print_stack(struct stack *stack){ for(i = 0; i < len; i++){ printf("%0.2f ", stack->values[i]); } - if(stack->size != 0){ - printf("%0.2f ", stack->values[i]); - printf("\n"); - } + printf("\n"); }