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

正文內(nèi)容

教學(xué)信息管理系統(tǒng)c語言課程設(shè)計(jì)報(bào)告-閱讀頁

2025-04-26 22:47本頁面
  

【正文】 break。/*提示用戶,輸入錯誤,需要重新輸入*/ scanf(%1s,amp。 }while(selectnum!=39。amp。selectnum!=39。amp。selectnum!=39。amp。selectnum!=39。)。c39。 return 0。 char name[30]。 char sex[4]。 float sum。void InPut(struct teacher *p,int n){ int i。 for(i=0。i++) scanf(%d%s%s%s%f%f%f,amp。p[i].score[0],amp。p[i].score[2])。s open file.)。 } for(i=0。i++) { fprintf(fp,%d %s %s %s %.1f %.1f %.1f ,p[i].num,p[i].name,p[i].petent,p[i].sex,p[i].score[0],p[i].score[1],p[i].score[2])。}(3).調(diào)用用來輸出數(shù)據(jù)的函數(shù): includestruct teacher{ int num。 char petent[30]。 float score[3]。}。 printf(Num\tName\tCompetent\tSex\tMath\tEnglish\tComputer\tSum\n)。in。 }} (4).調(diào)用用來計(jì)算教師綜合評分的函數(shù):struct teacher{ int num。 char petent[30]。 float score[3]。}。 for(i=0。i++) { p[i].sum=p[i].score[0]+p[i].score[1]+p[i].score[2]。 char name[30]。 char sex[4]。 float sum。void ReorderbyScore(struct teacher *p,int n){ int i,j。 for(i=0。i++) { for(j=0。j++) { if(p[j].sump[j+1].sum) { t=p[j]。 p[j+1]=t。 char name[30]。 char sex[4]。 float sum。void ReorderbyNum(struct teacher *p,int n){ int i,j。 for(i=0。i++) { for(j=0。j++) { if(p[j].nump[j+1].num) { t=p[j]。 p[j+1]=t。 char name[30]。 char sex[4]。 float sum。void SeacherbyName(struct teacher *p,char teacher[],int n){ int i,flag=1,t。inamp。flag。 t=i。 printf(%d\t%s\t%s\t\t%s\t%.1f\t%.1f\t%.1f\t\t%.1f\n,p[t].num,p[t].name,p[t].petent,p[t].sex,p[t].score[0],p[t].score[1],p[t].score[2],p[t].sum)。t find!\n)。 char name[30]。 char sex[4]。 float sum。void SeacherbyNum(struct teacher *p,int teacher2,int n){ int i,flag=1,t。inamp。flag。 t=i。 printf(%d\t%s\t%s\t\t%s\t%.1f\t%.1f\t%.1f\t\t%.1f\n,p[t].num,p[t].name,p[t].petent,p[t].sex,p[t].score[0],p[t].score[1],p[t].score[2],p[t].sum)。t find!\n)。 char name[30]。 char sex[4]。 float sum。char InputInformation(void){ char c。 order by score or num!please input 39。 to enter\n)。b39。 printf(Back to the main table!please input 39。 to enter\n)。d39。 printf(please input a task that you want to acplish...\n)。c)。}(10).調(diào)用輸出的函數(shù),用來讀出文件的信息來把每個(gè)教師的信息都顯示在屏幕上:includeincludestruct teacher{ int num。 char petent[30]。 float score[3]。}。 FILE *fp。s open file.)。 } for(i=0。i++) { fscanf(fp,%d%s%s%s%f%f%f,amp。p[i].score[0],amp。p[i].score[2])。 for(i=0。i++) { printf(%d\t%s\t%s\t\t%s\t%.1f\t%.1f\t%.1f\t\t%.1f\n,p[i].num,p[i].name,p[i].petent,p[i].sex,p[i].score[0],p[i].score[1],p[i].score[2],p[i].sum)。 }} 22
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1