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

正文內(nèi)容

學生成績管理系統(tǒng)源代碼(已修改)

2024-08-10 18:51 本頁面
 

【正文】 include include include include struct student //結(jié)構(gòu)體定義{ int num。 char name[10]。 char birthday[10]。 int Cyuyan。 int shujujiegou。 struct student *next。}。 struct student *creat_by_input()。 struct student *get_last_student(struct student *head)。 struct student *Print_menu_main() //主菜單{ printf( *********************************************************************\n)。 printf( | 1.........輸入學生信息 | \n)。 printf( | 2.........輸出學生信息 | \n)。 printf( | 3.........查找學生信息 | \n)。 printf( | 4.........修改學生信息 | \n)。 printf( | 5.........插入學生信息 | \n)。 printf( | 6.........刪除學生信息 | \n)。 printf( | 7.........排序?qū)W生信息 | \n)。 printf( | 0.........退出系統(tǒng) | \n)。 printf( |_ _ _ _ _ _ _ _ _ _ _ _ _ | \n)。} struct student *print_table_head() { printf(++++++\n)。 printf(| 學號 | 姓名 | 出生日期 | c成績 |數(shù)據(jù)結(jié)構(gòu)成績 |\n)。 printf(++++++\n)。 } struct student *print_table_row(struct student *p) { printf(|%10d|%10s|%10s|%10d|%10d|\n,pnum,pname,pbirthday,pCyuyan,pshujujiegou)。 } void print_table_bottom() { printf(++++++\n)。 } struct student * Creat_stu_record() //建立鏈表 { struct student *plaststu=NULL,*pnewstu。 char continue_input=39。N39。 struct student *head=NULL。 while(1) { if(head==NULL) { head=creat_by_input()。 print_table_head()。 print_table_row(head)。 print_table_bottom()。 } else { pnewstu=creat_by_input()。 print_table_head()。 print_table_row(pnewstu)。 print_table_bottom()。 plaststu=get_last_student(head)。 plaststunext=pnewstu。} printf(是否繼續(xù)輸入學生信息?(Y 繼續(xù),N 返回菜單)\n)。 getchar()。 continue_input=getchar()。 if(continue_input==39。n39。||continue_input==39。N39。) { system(cls)。 Print_menu_main()。 break。 } } return head。} struct student *creat_by_input() { struct student *pnewstu=(struct student *)malloc(sizeof(struct student))。 printf(請輸入學生信息\n)。 printf(學號:)。scanf(%d,amp。pnewstunum)。 printf(姓名:)。scanf(%s,pnewstuname)。 printf(出生年月:)。scanf(%s,pnewstubirthday)。 printf(請輸入學生成績\n)。 printf(C語言:)。scanf(%d,amp。(pnewstuCyuyan))。 printf(數(shù)據(jù)結(jié)構(gòu):)。scanf
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
公安備案圖鄂ICP備17016276號-1