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

正文內(nèi)容

圖書信息管理系統(tǒng)課程設(shè)計(jì)報(bào)告--c語言程序設(shè)計(jì)(編輯修改稿)

2025-04-19 06:20 本頁面
 

【文章內(nèi)容簡介】 if(num0) head=del(head,num)。 else printf(書號不能為負(fù)數(shù),請重新輸入!\n)。} } }while(1)。 break。 case 3:printf(請輸入圖書信息!\n)。 p1=(book *)malloc(LEN)。 p1=input(head,p1)。 while(p1number!=0) {head=insert(head,p1)。 print(head)。 printf(請輸入圖書信息!\n)。 p1=(book *)malloc(LEN)。 p1=input(head,p1)。 } break。 case 0:break。 default:printf(輸入錯(cuò)誤,請重新輸入!\n)。}}while(k!=0)。 return(head)。}void sort(book *head){int k。 if(n==0){printf(數(shù)據(jù)庫為空,沒有圖書記錄!\n)。return。}do{ printf( \n)。 printf(請選擇:)。 scanf(%d,amp。k)。 switch(k) { case 1:print(head)。break。 case 2:total_average_sort(head)。break。 case 3:chinese_sort(head)。break。 case 4:math_sort(head)。break。 case 5:english_sort(head)。break。 case 0:break。 default:printf(輸入錯(cuò)誤,請重新輸入!\n)。 }}while(k!=0)。}void total_average_sort(book *head){book *p1,*p2。int j=0。float max,k=301。printf(書號\t書名\t類別\t存期\t章數(shù)\t頁數(shù)\t閱讀次數(shù)\t總次數(shù)\t平均次數(shù)\n)。do{ max=0。 for(p1=head。p1。p1=p1next) if(p1summaxamp。amp。p1sumk){ max=p1sum。 p2=p1。} k=max。 for(p1=p2。p1。p1=p1next) if(p1sum==max){ printf(%ld\t%s\t%s\t%d\t%.1f\t%.1f\t%.1f\t%.1f\t%.1f\n,p1number,p1name,p1sex,p1age,p1chinese,p1math,p1english,p1sum,p1average)。 j++。}}while(jn)。}void chinese_sort(book *head){int j=0。float k=101,max。book *p1,*p2。printf(書號\t書名\t類別\t存期\t章數(shù)\t頁數(shù)\t閱讀次數(shù)\t總次數(shù)\t平均次數(shù)\n)。do{ max=0。 for(p1=head。p1。p1=p1next) if(p1chinesemaxamp。amp。p1chinesek){ max=p1chinese。 p2=p1。} k=max。 for(p1=p2。p1。p1=p1next) if(p1chinese==max){ printf(%ld\t%s\t%s\t%d\t%.1f\t%.1f\t%.1f\t%.1f\t%.1f\n,p1number,p1name,p1sex,p1age,p1chinese,p1math,p1english,p1sum,p1average)。 j++。}}while(jn)。}void math_sort(book *head){int j=0。float k=101,max。book *p1,*p2。printf(書號\t書名\t類別\t存期\t章數(shù)\t頁數(shù)\t閱讀次數(shù)\t總次數(shù)\t平均次數(shù)\n)。do{ max=0。 for(p1=head。p1。p1=p1next) if(p1mathmaxamp。amp。p1mathk){ max=p1math。 p2=p1。} k=max。 for(p1=p2。p1。p1=p1next) if(p1math==max){ printf(%ld\t%s\t%s\t%d\t%.1f\t%.1f\t%.1f\t%.1f\t%.1f\n,p1number,p1name,p1sex,p1age,p1chinese,p1math,p1english,p1sum,p1average)。 j++。}}while(jn)。}void english_sort(book *head){int j=0。float k=101,max。book *p1,*p2。printf(書號\t書名\t類別\t存期\t章數(shù)\t頁數(shù)\t閱讀次數(shù)\t總次數(shù)\t平均次數(shù)\n)。do{ max=0。 for(p1=head。p1。p1=p1next) if(p1englishmaxamp。amp。p1englishk){ max=p1english。 p2=p1。} k=max。 for(p1=p2。p1。p1=p1next) if(p1english==max){ printf(%ld\t%s\t%s\t%d\t%.1f\t%.1f\t%.1f\t%.1f\t%.1f\n,p1number,p1name,p1sex,p1age,p1chinese,p1math,p1english,p1sum,p1average)。 j++。}}while(jn)。}book *modify(book *head,long num){ book *p1。 int k,m。 p1=head。 while(p1!=NULL){ if(p1number==num) break。 p1=p1next。} if(p1number==num){ do{ printf( \n)。 printf(請選擇:)。 scanf(%d,amp。k)。 switch(k) { case 1:printf(書名:)。scanf(%s,p1name)。printf(修改成功!\n)。break。 case 2:loop2:printf(類別: 2. 理科\n)。 printf(請選擇類別:)。 scanf(%d,amp。m)。 switch(m)
點(diǎn)擊復(fù)制文檔內(nèi)容
范文總結(jié)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1