(sizeof(Account));cPtr->num=num; printf("输入日期,格式为****.**.**:"); scanf("%s",cPtr->date); printf("输入in或out表示收入和支出:"); scanf("%s",cPtr->in_out); printf("输入金额:"); scanf("%f",&cPtr->amount); printf("输入门类,收入有parents、school、labor、others\n" "支出有:clothes、food、house、travel、else:"); scanf("%s",cPtr->kind); printf("输入余额:"); scanf("%f",&cPtr->remain);?cPtr->next=creat();returncPtr;}显示账单实现代码如下:voidprint(APtrheadPtr){if(headPtr==NULL){printf("链表为空\n");return;}else?{if(headPtr->next==NULL)printf("%d\t%-10s\t%-5s\t\t%5.2f\t\t%-10s\t%5.2f\n",headPtr->num, headPtr->date,headPtr->in_out,headPtr->amount,headPtr->kind,headPtr->remain);else?{printf("%d\t%-10s\t%-5s\t\t%5.2f\t\t%-10s\t%5.2f\n",headPtr->num, headPtr->date,headPtr->in_out,headPtr->amount,headPtr->kind,headPtr->remain);print(headPtr->next);?}?}}删除记录