funguje
This commit is contained in:
parent
12e74adb01
commit
19b864bde6
@ -73,12 +73,12 @@ void print_stack(struct stack* mystack)
|
|||||||
for(int i=0;i<mystack->size;i++)
|
for(int i=0;i<mystack->size;i++)
|
||||||
{
|
{
|
||||||
printf("%.2f",mystack->values[i]);
|
printf("%.2f",mystack->values[i]);
|
||||||
if (i<mystack->size)
|
if (i<mystack->size-1)
|
||||||
{
|
{
|
||||||
printf(" ");
|
printf(" ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf(" ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user