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

正文內(nèi)容

課程設(shè)計(jì)--圖書售銷管理系統(tǒng)(參考版)

2025-06-08 16:21本頁面
  

【正文】 } } return 0。 case 6:exit(0)。 break。 第 19 頁 共 23 頁 break。choice1)。 printf( \n)。 case 5: printf(請(qǐng)選擇操作 \n)。 case 4:profit()。 case 3:book_sale()。 case 2:book_purchase()。 switch(choice) { case 1:input_info()。 scanf(%d,amp。 printf(\t\t\t\ \n)。 printf(\t\t\t\ \n)。 printf(\t\t\t\ \n)。 printf(\t\t\t\ \n)。 printf(\t\t\t\ \n)。 printf(\t\t\t\ \n)。 printf(\t\t\t\t請(qǐng)選擇操作 \n)。 printf(\n)。 printf(\t\t\t\t圖書購銷管理系統(tǒng) \n)。i++) bookS[i].bookNum=0。 for(i=0。 第 18 頁 共 23 頁 int choice。 } } void profit() /*利潤計(jì)算函數(shù) */ { printf(%.2f\n,sale_sumpurchase_sum)。n39。 getchar()。 } else printf(銷售要求非法! \n)。 sale_sum+=sale_num*sale_prices。amp。///////?? j=search_idStore(id)。sale_num)。 printf(請(qǐng)輸入銷售圖書數(shù)量 :)。sale_prices)。 printf(請(qǐng)輸入銷售圖書單價(jià) :)。id)。 printf(請(qǐng)輸入銷售圖書編號(hào) :)。saleNum)。 while(1) { printf(請(qǐng)輸入銷售序號(hào) :)。 float sale_prices。 break。n39。 getchar()。 printf(采購金額為: %.2f\n,purchase_num*purchase_prices)。 num_s++。i++) bookS[num_s].auther[i]=bookI[j].auther[i]。bookI[j].auther[i]!=39。i++) bookS[num_s].name[i]=bookI[j].name[i]。bookI[j].name[i]!=39。 bookS[num_s].id=bookI[j].id。 if(j!=1) bookS[j].bookNum+=purchase_num。 printf(\n)。 scanf(%d,amp。 printf(\n)。 scanf(%f,amp。 printf(\n)。 scanf(%ld,amp。 printf(\n)。 scanf(%ld,amp。 float purchase_prices。 } void book_purchase() /*圖書購買函數(shù) */ { int i,j,purchase_num。i++) 第 16 頁 共 23 頁 { if(bookI[i].id==id) return i。 for(i=0。 } return 1。inum_s。 } int search_idStore(long id) /*在庫存中搜索 */ { int i。i++) { if(bookS[i].id==id) return i。 for(i=0。 scanf(%ld,amp。 long id。 } return 1。inum_s。 scanf(%s,name)。 char name[20]。 第 15 頁 共 23 頁 } return 1。inum。id)。 printf(請(qǐng)輸入圖書編 號(hào) \n)。 } int search_byidInfo() /*通過書號(hào)在基本信息結(jié)構(gòu)體數(shù)組中找到對(duì)應(yīng)基本信息*/ { int i。i++) { if(strcmp(bookI[i].name,name)==0) return i。 for(i=0。 printf(請(qǐng)輸入書名 \n)。 } } int search_bynameInfo() /*通過書名在基本信息結(jié)構(gòu)體數(shù)組中 找到對(duì)應(yīng)基本信息 */ { int i。 else displayStore(i)。 case 2: i=search_byidStore()。 else displayStore(i)。 switch(choice4) { case 1: i=search_bynameStore()。 scanf(%d,amp。 printf( \n)。 break。 if(i==1) printf(error\n)。 break。 if(i
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1