freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

c課程設(shè)計(jì)報(bào)告-超市管理系統(tǒng)(參考版)

2025-01-21 20:51本頁(yè)面
  

【正文】 } }while(b==0)。 flushall()。 } else { printf(\t\t\t輸入錯(cuò)誤代號(hào)!請(qǐng)重新輸入: )。N39。 Menu()。Y39。 a=getchar()。 printf(\t\t\t)。退出系統(tǒng)。 )。 printf( \n\n\t Y: 是。 printf(\t ~~~~~~~~~~~~~~~~%% %%~~~~~~~~~~~~~~~~~~\n)。 printf(\t ~~~~~~~~~~~~%% %%~~~~~~~~~~~~~~\n)。 printf(\t ~~~~~~~~%% 謝謝使用! %%~~~~~~~~~~\n)。 printf(\t ~~~~~~~~~~~~%% %%~~~~~~~~~~~~~~\n)。 printf(\t ~~~~~~~~~~~~~~~~%% %%~~~~~~~~~~~~~~~~~~\n)。 int b=1。 return head。 } p2next=NULL。 p2next=p。pprice,amp。 fscanf(fp,%d %s %s %d %d\n,amp。 p2=head。 exit(0)。 FILE *fp。 } return 0。 while(p1!=NULL) { printf(\t\t\t %d %s %s %d %d\n,p1number,p1name,p1type,p1price,p1amount)。 p1=headnext。 } fclose(fp)。 while(p1!=NULL) { fprintf(fp,%d %s %s %d %d\n,p1number,p1name,p1type,p1price,p1amount)。 fp=fopen(,wt)。}void savefile(struct goods *p){ FILE *fp。)。 } if(p==NULL) printf(\n沒(méi)有找到相關(guān)商品\n\n)。 break。 while(p!=NULL) { if(pprice==a) { printf( \t\t貨號(hào) 名稱(chēng) 類(lèi)型 單價(jià)(元) 數(shù)量 )。 scanf(%d,amp。 } if(b==2) { p=headnext。 } p=pnext。 printf(\n \t%d %s %s %d %d\n,pnumber,pname,ptype,pprice,pamount)。 p=headnext。a)。 if(b==1) { printf(\n輸入你要查詢的商品貨號(hào): )。 scanf(%d,amp。 printf(\t\\n\t\)。 int a,b。 return head。 printf(\n\t\t\t按任意鍵返回菜單。 qnext = temp。 temp = pnext。 *p = *q。 q。 p。 printf(\n\n\n\n\n\t\t\t商品按貨號(hào)排序?yàn)?\n\n)。} struct goods *sort2(struct goods *head) { struct goods *p, *h, *q, *temp, t。)。 } print(head)。 pnext = qnext。 *q = t。 q = qnext) if((pprice) (qprice)0) { t = *p。 p = pnext) for(q = pnext。 for(p = h。 //價(jià)格排序 h=headnext。 system(cls)。 savefile(head)。 } if(m==2) { head=readfile()。 ch=getch()。 head=sort1(head)。 system(cls)。m)。 printf( 請(qǐng)選擇: )。 printf( 。 printf( 。 printf(\n\n\n ★★★★★★★★★★★★★★★★★★★★ \n\n)。 char ch。 return(head)。)。 break。 while(1) { if(pnext!=NULL) p=pnext。p3amount)。 printf(\t\t 請(qǐng)輸入數(shù)量: )。 scanf(%d,amp。 scanf(%s,p3type)。 scanf(%s,p3name)。p3number)。 printf(\n\t\t 請(qǐng)輸入貨號(hào): )。 printf(\n\n\t\t請(qǐng)輸入要添加的商品信息:\n)。 } return(head)。 printf(\n輸入任意鍵返回菜單。 } else { printf(\n抱歉!找不到與貨號(hào)為 %d 的商品相關(guān)信息。 printf(\n輸入任意鍵返回菜單。 printf(\n貨號(hào)為 %d 的商品信息已成功刪除!\n\n,a)。 } if(pnumber==a) { if(p==head) head=pnext。pnext!=NULL)/*刪除時(shí)需要兩個(gè)變量,保證最后P指向要?jiǎng)h除結(jié)點(diǎn),P2指向前一個(gè)結(jié)點(diǎn)*/ { p2=p。 while(pnumber!=aamp。a)。 printf(請(qǐng)輸入你要?jiǎng)h除的商品貨號(hào): )。 printf(\n\n)。}struct goods *delet(struct goods *head){ struct goods *p,*p2。 }*/ printf(\n\n按任意鍵返回菜單。 } else p=pnext。 printf(\n\t\t\t%d %s %s %d %d\n,pnumber,pname,ptype,pprice,pamount)。 } printf(\n修改后的商品信息:)。 scanf(%d,amp。pprice)。 } else if(n==4) { printf(\t\t 請(qǐng)重新輸入單價(jià): )。 } else if(n==3) { printf(\t\t 請(qǐng)重新輸入類(lèi)型: )。 } else if(n==2) { printf(\t\t 請(qǐng)重新輸入名稱(chēng): )。 scanf(%d,amp。n)。 printf(\n\t 請(qǐng)選擇: )。number)。 printf(\n請(qǐng)輸入要修改商品的貨號(hào): )。 printf(\n)。 struct goods *p。} void modify(struct goods *head){ int number。 ch=getch()。 printf(\n\n\t\t\t 商品信息錄入成功!\n\n\t\t\t 按任意鍵返回菜單。 } p2next=NULL。 scanf(%d,amp。p1price)。 printf(\t\t\t 單價(jià)(元):)。 printf(\t\t\t 類(lèi)型:)。 printf(\t\t\t 名稱(chēng): )。p1number)。 printf(\n\t\t\t 貨號(hào): )。 p2=p1。p1amount)。 printf(\t\t\t 數(shù)量:)。 scanf(%d,amp。 scanf(%s,p1type)。 scanf(%s,p1name)。p1number)。 printf(\t\t\t 貨號(hào): )。 p2=head。 head=(struct goods *)malloc(L)。 struct goods *head。}struct goods *input(void) // 輸入 { int n=0。select2()。 break。 // 7 查找 case 8: system(cls)。menu2()。ch=getch()。 head=readfile()。 break。system(cls)。)。print(head)。printf(\n\n\t\t\t\t 統(tǒng)計(jì)\n\n)。break。Sort()。b)。 head=NULL。
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1