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

正文內(nèi)容

學(xué)生個(gè)人信息管理系統(tǒng)c語(yǔ)言課程設(shè)計(jì)-預(yù)覽頁(yè)

 

【正文】 ) struct stu { long num。 }。 /*各函數(shù)的聲明 */ void login()。 void output(struct s_type *w)。 void insert(struct s_type **w)。 fp=fopen(c:\\Soft\\,wt+)。 } } /*文件的保存函數(shù) */ void save(struct s_type *w) { struct s_type *p1。 getch()。p1=p1next) fwrite(p1,N,1,fp)。p1=p1next) fread(p1,N,1,fp)。 int i,j,t。 for(i=0。 s[i]=mi。 if(!(strcmp(s,000000))) { system(cls)。 j=3t。 printf(\n\n\n\n\n\n\n\n 您的次機(jī)會(huì)已用完 ,現(xiàn)已無(wú)權(quán)使用該系統(tǒng) !\n\n)。 fp=fopen(c:\\Soft\\,rt+)。 getch()。 wnext=NULL。 p2next=p1。 fclose(fp)。 char choice,a[20]。 printf(\n 學(xué)號(hào) : )。 scanf(%s,a)。 printf(\n 數(shù)學(xué)成績(jī) : )。 scanf(%f,amp。 strcpy(p,a)。 p=averege(r,s,t)。 scanf(%ld,amp。 printf(\n 語(yǔ)文成績(jī) : )。 scanf(%f,amp。t)。 strcpy(p,a)。 p=averege(r,s,t)。 flushall()。n39。 } } float averege(float a,float b,float c) { float aver。 printf(請(qǐng)輸入要查詢(xún)的學(xué)生信息的學(xué)生學(xué)號(hào) :\n\n)。 while(wamp。 else printf(%ld %s %.2f %.2f %.2f %.2f\n,w,w,w,w ore2,w,w)。 printf(\n您查找的學(xué)生信息如下 :\n\n)。 if(w==NULL) printf(\n\n***********************Error,no such student!**************************\n)。 printf(\n請(qǐng)輸入要?jiǎng)h除的學(xué)生信息的學(xué)生學(xué)號(hào) :\n)。 else { while(pnextamp。 else { t=pnext。 char a[20]。 printf(\n 學(xué)號(hào) : )。 scanf(%s,a)。 printf(\n 數(shù)學(xué)成績(jī) : )。 scanf(%f,amp。 strcpy(p,a)。 p=averege(r,s,t)。 } if(p(*w)) pnext=(*w),(*w)=p。amp。 *w=k。 } else t=*w。 if(pt) { pnext=t。amp。 } p=q。 return 。 tnext=NULL。 } else { z=t。 pnext=znext。 } /*輸出學(xué)生信息 */ void output(struct s_type *w) { if(!w) { printf(\n\n\n*******************No message to output!**********************\n)。 } } } void menu() { printf(\n\n\n *********學(xué)生成績(jī)管理系統(tǒng) ********\n)。 printf(\n 4. *根據(jù)學(xué)號(hào)刪除學(xué)生信息 \n)。 printf(\n 8. *打印學(xué)生信息數(shù)據(jù) \n)。 int flag=1。 w=fp。 gets(name)。 printf( 請(qǐng)按任意鍵進(jìn)入系統(tǒng) !)。 menu()。 create(amp。 printf(\n學(xué)號(hào) \t姓名 \t語(yǔ)文 \t數(shù)學(xué) \t英語(yǔ) \t平均成績(jī) \n)。 break。 printf(\n\n\nPress any key to continue)。 printf(\n\n)。 break。 output(w)。 printf(\n信息已成功刪除,請(qǐng)驗(yàn)證 :\n\n)。 output(w)。 case 5: system(cls)。 getch()。 getch()。 printf(\n\n\nPress any key to continue)。 printf(\n\n按平均分降序排列輸出結(jié)果如下 :\n\n)。 printf(\n學(xué)號(hào) \t姓名 \t語(yǔ)文 \t數(shù)學(xué) \t英語(yǔ) \t平均成績(jī) \n)。 break。 sort_num(amp。 printf(\nPress any key to continue)。 printf(\n\n學(xué)生信息如下 :\n)。 getch()。 flag=0。 printf( You have successfully exit the for using!\n\n\n\n\n)。 printf(\n\n\nThis is a wrong selection!\n
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1