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

正文內(nèi)容

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

2025-04-06 23:19本頁(yè)面
  

【正文】 while (p!=NULL) { prin。 } printf (\n 設(shè)備編號(hào) 部門編號(hào) 購(gòu)買日期 設(shè)備狀態(tài) 設(shè)備數(shù)量 報(bào)廢數(shù)量 單價(jià) 總價(jià) \n)。 system(cls)。 getchar()。 if (p==NULL) { printf (購(gòu)買信息為空。 } /*顯示購(gòu)買報(bào)廢設(shè)備信息記錄 */ void show_information(struct information *head) { struct information *p=headnext。 getchar()。 exit(0)。 } tempnext=NULL。 pt1next=temp。tempsum)。tempnumber1,amp。tempstyle,amp。tempID,amp。 while (!feof(fp)) { temp=(struct information *)malloc(sizeof(struct information))。 return 0。 system(cls)。 struct information *temp。 system(cls)。 getchar()。 p=pnext。amp。 printf ( (1 買 1 廢 ) )。 return。 getchar()。 \n)。 }while(num1=0||num14)。 if(num1=0||num14) printf (輸入的設(shè)備編號(hào)有誤,請(qǐng)重新輸入: )。 do{ scanf(%d,amp。 int num1。 system(cls)。 getchar()。 p=pnext。amp。 printf ( (1 買 1 廢 ) )。 return。 getchar()。 \n)。 }while(ID1=0||ID110)。 if(ID1=0||ID110) printf (輸入的設(shè)備編號(hào)有誤,請(qǐng)重新輸入: )。 do{ scanf(%d,amp。 int ID1。 system(cls)。 } printf(\n******************** 查 詢 完 成 , 按 ENTER 返回 !!!*****************)。pstyle==1) printf (\n%d \t %d \t%s \t%d \t%d \t%d \t%.2f \t%.2f,pID,pnum,pdate,pstyle,pnumber,pnumber1,pprice,psum)。 while (p!=NULL) { if (num1==pnumamp。 } printf (\n 設(shè)備編號(hào) 部門編號(hào) 購(gòu)買日期 設(shè)備狀態(tài) 設(shè)備數(shù)量 報(bào)廢數(shù)量 單價(jià) 總價(jià) \n)。 system(cls)。 getchar()。 if (pnext==NULL) { printf (購(gòu)買信息為空。 rewind(stdin)。num1)。 printf(請(qǐng)輸入部門編號(hào)( 1~4) )。 } /*通過(guò)部門編號(hào)查詢?cè)O(shè)備購(gòu)買信息 */ void num_buy(struct information *head ) { struct information *p=head。 getchar()。 p=pnext。amp。 printf ( (1 買 1 廢 ) )。 return。 設(shè)備 管理系統(tǒng) 第 25 頁(yè) 共 38 頁(yè) getchar()。 \n)。 }while(ID1=0||ID110)。 if(ID1=0||ID110) printf (輸入的設(shè)備編號(hào)有誤,請(qǐng)重新輸入 (1~10))。 do{ scanf(%d,amp。 int ID1。 system(cls)。 printf(******************** 輸 入 完 成 , 按 ENTER 返回 !!!*********************)。 getchar()。 pnext=temp。 tempsum=(tempnumber1)*(tempprice)。 rewind(stdin)。tempprice)。 tempsum=(tempnumber1)*(tempprice)。 tempprice=1*tempID。 rewind(stdin)。tempnumber1)。 printf(請(qǐng)輸入報(bào)廢設(shè)備數(shù)量 (整數(shù) )1~%d: ,g)。 }/*將日期裝換為字符型存入 */ tempstyle=1。 tempdate[10]=39。 tempdate[9]=(datatm_mday)%10+39。 tempdate[8]=(datatm_mday)/10+39。 tempdate[7]=39。 tempdate[6]=(datatm_mon+1)%10+39。 tempdate[5]=(datatm_mon+1)/10+39。 tempdate[4]=39。 tempdate[3]=(datatm_year+1900)%10+39。 tempdate[2]=(datatm_year+1900)/10%100+39。 tempdate[1]=(datatm_year+1900)/100%10+39。 tempdate[0]=(datatm_year+1900)/1000+39。 printftime(pdate)。 data = localtime(amp。 struct tm *data。 tempnum=n。 q=g。 g=so。wnum==n) {s=s+wnumber。 if(wID==mamp。wprice,amp。wnumber,amp。wnum,wdate,amp。 } while (!feof(fp)) { fscanf (fp,%d%d%s%d%d%d%lf%lf\n,amp。 設(shè)備 管理系統(tǒng) 第 23 頁(yè) 共 38 頁(yè) if ((fp=fopen(購(gòu)買報(bào)廢記錄 .txt,r+))==NULL) { printf (打開錯(cuò)誤 !\n)。 goto address。 date2[0]=39。 }while(judge_date(date2)==0)。 do{ address: scanf(%s,date2)。 }while(n=0||n4)。 if(n=0||n4) printf (輸入的部門編號(hào)有誤,請(qǐng)重新輸入 (1~4): )。 do{ scanf (%d,amp。 }while(m=0||m10)。 if(m=0||m10) printf (輸入的設(shè)備編號(hào)有誤,請(qǐng)重新輸入 (1~10): )。 do{ scanf (%d,amp。 printf (\n設(shè)備編號(hào) 部門編號(hào) 購(gòu)買日期 設(shè)備狀態(tài) (1 買 1 廢 ) 設(shè)備數(shù)量 報(bào)廢數(shù)量 單價(jià) 總價(jià) \n)。 w=temp。 system(cls)。 int m,n,s=0,o=0,g=0。 } /*記錄報(bào)廢設(shè)備的信息 */ 設(shè)備 管理系統(tǒng) 第 22 頁(yè) 共 38 頁(yè) void save_ruin(struct information *head) { char date2[10]。 getchar()。 load(head)。 tempnext=NULL。 printf(設(shè)備需要總價(jià): %.2lf\n\n,tempsum)。 }while(tempprice=0)。 if(tempprice=0) printf(輸入的設(shè)備單價(jià)有誤,請(qǐng)重新輸入設(shè)備單價(jià): )。 do{ scanf (%lf,amp。 tempprice=1*tempID。 }while(tempnumber=0)。 if(tempnumber=0) printf(輸入的購(gòu)買設(shè)備數(shù)量有誤,請(qǐng)重新輸入購(gòu)買設(shè)備數(shù)量 (整數(shù) ): )。 do{ scanf (%d,amp。 } /*將日期裝換為字符型存入 */ tempstyle=1。 tempdate[10]=39。 tempdate[9]=(datatm_mday)%10+39。 tempdate[8]=(datatm_mday)/10+39。 tempdate[7]=39。 tempdate[6]=(datatm_mon+1)%10+39。 tempdate[5]=(datatm_mon+1)/10+39。 tempdate[4]=39。 tempdate[3]=(datatm_year+1900)%10+39。 設(shè)備 管理系統(tǒng) 第 21 頁(yè) 共 38 頁(yè) tempdate[2]=(datatm_year+1900)/10%100+39。 tempdate[1]=(datatm_year+1900)/100%10+39。 tempdate[0]=(datatm_year+1900)/1000+39。 printftime(pdate)。 data = localtime(amp。 struct tm *data。 }while(tempnum=0||tempnum4)。 if(tempnum=0||tempnum4) printf (輸入的部門編號(hào)有誤,請(qǐng)重新輸入 (1~4): )。 do{ scanf (%d,amp。 }while(tempID=0||tempID10)。 if(tempID=0||tempID10) printf (輸入的設(shè)備編號(hào)有誤,請(qǐng)重新輸入 (1~10): )。 do{ scanf (%d,amp。 printf (\n設(shè)備編號(hào) 部門編號(hào) 購(gòu)買日期 設(shè)備狀態(tài) (1 買 1 廢 ) 設(shè)備數(shù)量 報(bào)廢數(shù)量 單價(jià) 總價(jià) \n)。 temp=(struct information *)malloc(sizeof(struct information))。 } /*記錄購(gòu)買設(shè)備的信息 */ void save_buy(struct information *head) { struct information *tem
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1