This commit is contained in:
Your Name 2025-10-16 01:02:55 +02:00
parent 670c4bdaf7
commit dcc489591f

View File

@ -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) 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-1) if (i<mystack->size)
{ {
printf(" "); printf(" ");
} }