funguje
This commit is contained in:
parent
670c4bdaf7
commit
dcc489591f
@ -68,17 +68,12 @@ float pop_stack(struct stack* mystack,const char input[])
|
||||
}
|
||||
}
|
||||
|
||||
int count_stack(struct stack* stack)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void print_stack(struct stack* mystack)
|
||||
{
|
||||
for(int i=0;i<mystack->size;i++)
|
||||
{
|
||||
printf("%.2f",mystack->values[i]);
|
||||
if (i<mystack->size-1)
|
||||
if (i<mystack->size)
|
||||
{
|
||||
printf(" ");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user