polish calc
This commit is contained in:
parent
6e024061ef
commit
eaff9d7eb1
@ -44,11 +44,8 @@ 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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int main() {
|
||||
|
Loading…
Reference in New Issue
Block a user