funguje
This commit is contained in:
parent
4405e5efec
commit
a14288d57d
@ -78,7 +78,7 @@ void print_stack(struct stack* mystack)
|
|||||||
printf(" ");
|
printf(" ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
printf(" \n");
|
printf(" ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -103,6 +103,7 @@ int main()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
printf("\n");
|
||||||
char* ptr;
|
char* ptr;
|
||||||
float num=strtof(input,&ptr);
|
float num=strtof(input,&ptr);
|
||||||
push_stack(&mystack,num);
|
push_stack(&mystack,num);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user