funguje
This commit is contained in:
parent
4dbba7d790
commit
670c4bdaf7
@ -77,7 +77,7 @@ void print_stack(struct stack* mystack)
|
||||
{
|
||||
for(int i=0;i<mystack->size;i++)
|
||||
{
|
||||
printf("%f",mystack->values[i]);
|
||||
printf("%.2f",mystack->values[i]);
|
||||
if (i<mystack->size-1)
|
||||
{
|
||||
printf(" ");
|
||||
@ -98,6 +98,7 @@ int main()
|
||||
input[strcspn(input,"\n")]=0;
|
||||
if (strlen(input)==0)
|
||||
{
|
||||
printf("no input");
|
||||
continue;
|
||||
}
|
||||
if (flag==0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user