,%d,%d %d %d,%d,%d\n",(L.kindelem[i]).pkindname,p->pname,p->totalquantity,(p->goodsdate).year,(p->goodsdate).month,(p->goodsdate).day,p->salesquantity,(p->salestime).year,(p->salestime).month,(p->salestime).day);Р }Р }Р}//VisitРvoid DisplayList(sqmountlink &L){ //显示各产品所属产品类、产品名称、产品总量、进货日期、销售数量、销售时间Р int i;Р plinklist p;Р printf("产品类★产品★产品总量★进货日期★销售数量★销售时间\n");Р for(i=0;i<L.length;i++){Р if(!(L.kindelem[i].firstproduct))Р printf("%s\n",(L.kindelem[i]).pkindname);Р for(p=L.kindelem[i].firstproduct;p;p=p->nextproduct)Р printf("%s %s %d %d,%d,%d %d %d,%d,%d\n",(L.kindelem[i]).pkindname,p->pname,p->totalquantity,(p->goodsdate).year,(p->goodsdate).month,(p->goodsdate).day,p->salesquantity,(p->salestime).year,(p->salestime).month,(p->salestime).day);Р }Р}//DisplayListРvoid menu_operation(){//操作菜单