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

正文內(nèi)容

c語言課程設(shè)計(jì)---學(xué)生成績(jī)管理系統(tǒng)設(shè)計(jì)(編輯修改稿)

2025-02-12 04:57 本頁面
 

【文章內(nèi)容簡(jiǎn)介】 system(cls)。 print(head)。 save(head)。 getch()。 break。 case 39。639。: head=read()。 //進(jìn)行讀文件; printf(\n input the inserted record:)。 stu=(struct student*)malloc(LEN)。 printf(num=)。 scanf(%ld,amp。stu)。 while(stu!=0) { printf(\nname=)。 scanf(%s,stu)。 printf(語文、數(shù)學(xué)、英語成績(jī):)。 scanf(%f,%f,%f,amp。stu[0],amp。stu[1],amp。stu[2])。 stu=(stu[0]+stu[1]+stu[2])/3。 head=insert(head,stu)。 printf(input the inserted record:)。 stu=(struct student*)malloc(LEN)。 printf(num=)。 scanf(%ld,amp。stu)。 } print(head)。 save(head)。 getch()。 break。 case 39。739。: head=read()。 //進(jìn)行讀文件; system(cls)。 print(head)。 getch()。 break。 default:printf(enter data error!\n)。break。 }采用switch函數(shù),實(shí)現(xiàn)各種功能的選擇,既方便,又簡(jiǎn)潔。(鏈表建立)struct student *creat()//建立鏈表;{ struct student *head。 struct student *p1,*p2。 int n。 n=0。 p1=p2=(struct student *)malloc(LEN)。 head=NULL。 printf(\nnum=)。 scanf(%ld,amp。p1)。 while(p1!=0) { printf(\nname=)。 scanf(%s,p1)。 printf(\n語文、數(shù)學(xué)、英語成績(jī):)。 scanf(%f,%f,%f,amp。p1[0],amp。p1[1],amp。p1[2])。 p1=(p1[0]+p1[1]+p1[2])/3。 n=n+1。
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1