du3 - 4
This commit is contained in:
parent
15e6ed87dc
commit
d311508a59
@ -34,7 +34,6 @@ float pop_stack(struct stack *s) {
|
|||||||
|
|
||||||
void print_stack(struct stack *s) {
|
void print_stack(struct stack *s) {
|
||||||
for (int i = 0; i < s->size; i++) {
|
for (int i = 0; i < s->size; i++) {
|
||||||
if (i > 0) printf(" ");
|
|
||||||
printf("%.2f ", s->values[i]);
|
printf("%.2f ", s->values[i]);
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user