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

正文內(nèi)容

c語言課程設計---學生成績管理系統(tǒng)設計(編輯修改稿)

2025-07-09 04:37 本頁面
 

【文章內(nèi)容簡介】 system(cls)。 print(head)。 save(head)。 getch()。 break。 case 39。639。: head=read()。 //進行讀文件; 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ù)學、英語成績 :)。 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()。 //進行讀文件; system(cls)。 print(head)。 getch()。 break。 default:printf(enter data error!\n)。break。 } 采用 switch函數(shù),實現(xià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ù)學、英語成績 :)。 scanf(%f,%f,%f,amp。p1[0],amp。p1[1],amp。p1[2])。 p1=(p1[0]+p1[1]+p1[2])/3。 n=n+1。 if(n==1)head=p1。 else { p2next=p1。
點擊復制文檔內(nèi)容
畢業(yè)設計相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1