polish calc

This commit is contained in:
Maryna Kravtsova 2020-11-02 16:00:22 +01:00
parent 6e024061ef
commit eaff9d7eb1

View File

@ -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");
}
}