polish calc
This commit is contained in:
parent
6e024061ef
commit
eaff9d7eb1
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user