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

正文內(nèi)容

c語言課程設(shè)計(jì):學(xué)生成績(jī)管理系統(tǒng)設(shè)計(jì)-wenkub.com

2025-01-09 03:43 本頁(yè)面
   

【正文】 if (k != i) { temp = data[i]。 ilen1。 data[k] = temp。 jlen。 STUDENT temp。 data[i] = data[k]。 i++) { for (k=i, j=i+1。 } } void sort_number(STUDENT *data, int len) { int i,j,k。\n39。\n39。639。539。439。339。239。139。ctrl_ch2)。)。 for (i = 0。 printf( 1 按學(xué)號(hào)排序 2 按語文成績(jī)排序 \n)。 i 80。 } include include include include include /*排序子程序 */ void sort(STUDENT *data, int len) { int i。 fclose(fp)。 C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 fprintf(fp,%, data[i].English)。 i++) { fprintf(fp,%8d, data[i].no)。\n39。 fprintf(fp,%12s, 平均分 )。 fprintf(fp,%8s, 姓名 )。 } C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 include include include include include /**********將數(shù)據(jù)保存到文件 ********/ void save(STUDENT *data, int len) { int i。 putchar(39。 i= 79。 printf( 3 刪除成績(jī) 4 查詢成績(jī) \n)。 putchar(39。 i 80。 system(cls)。 printf(按回車鍵繼續(xù) .)。)。 } for (i =0。 printf(%, data[i].mark_tot)。 printf(%, data[i].Chinese)。 for (i = 0。)。 for (i =0。 printf(%10s, 總分 )。 printf(%8s, 語文 )。 } include include include include include /*輸出信 息子程序 */ void output(STUDENT *data, int len) { int i。 data[pos].mark_ave = mark_ave。 strcpy(data[pos].name, name)。 for (i = *len1。 pos = 0。math, amp。 if (no == 1) return。 printf(%s\n, 格式:學(xué)號(hào) )。 double Chinese, math, English, mark_ave, mark_tot。 (*len)++。 getchar()。data[*len].math,amp。no)。 printf(如 :\n)。 printf(%s\n, 姓名 語文 數(shù)學(xué) 英語 )。\n39。 } } } { printf(%s\n, 沒有查詢到相關(guān)信息 )。 putchar(39。 i 79。 putchar(39。 printf(%, data[result].math)。)。 printf(%12s, 平均分 )。 printf(%8s, 姓名 )。 putchar(39。 i 80。result=len。 // if (str[0] ==39。 } } if(str[0]=39。 putchar(39。 i 79。 putchar(39。 printf(%, data[result].math)。)。 printf(%12s, 平均分 )。 printf(%8s, 姓名 )。 putchar(39。 i 80。 goto lab。 //輸入 1時(shí)返回主界面 while( data[result].no != find_no amp。) //如果輸入值為 2,即是要使用 學(xué)號(hào)搜索 { printf(%s\n, 請(qǐng)輸入需要查找的學(xué)生的學(xué)號(hào),退出當(dāng)前菜單請(qǐng)輸入 1.)。 } else { printf(請(qǐng)選擇查找的方式 : \n)。 char str[256]。 return。 *len = *len 1。 goto lab。 //輸入為 1是返回主界面 while( (data[pos].no != no) amp。 //lab用來作為 goto語句的返回點(diǎn) printf(%s\n, 輸入需要?jiǎng)h除的學(xué)生的學(xué)號(hào),退出當(dāng)前菜單請(qǐng)輸入 1.)。 scanf(%c, amp。 break。 //保存文件 break。 //統(tǒng)計(jì)函數(shù) break。 break。 case 39。 case 39。339。: insert(data, amp。 //輸入函數(shù) output(data, len)。) { switch(ctrl_ch1) { case 39。 scanf(%c, amp。 } 第三章:用戶文檔 方式一:直接打開 C語言 .exe文件,按界面提示進(jìn)行操作 方式二:在電腦中安裝 ,用打開工作空間的方式打開 C語言 .dsw,讓程序運(yùn)行后還是按照界面提示進(jìn)行操作 C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 第四章:源程序代碼清單 include include include include include include include include include include include include include void main() { STUDENT data[MAXN]。\n39。\n39。739。639。: sort(data, len)。: find(data, len)。len)。 //插入成績(jī) break。 case 39。: input(data, amp。 小于 60? 小于 70? 小于 80? 小于 90? 60范圍內(nèi)的數(shù) +1 6070范圍內(nèi)的數(shù) +1 7080范圍內(nèi)的數(shù) +1 8090 范圍內(nèi)的數(shù)+1 90100范圍內(nèi)的數(shù) +1 進(jìn)行下一個(gè)數(shù)判斷 C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 while (ctrl_ch1 != 39。 char ctrl_ch1。 } else { printf(%s\n, 未查詢到相關(guān)信息 )。 putchar(39。 i 79。 putchar(39。 printf(%, data[result].math)。)。 printf(%12s, 平均分 )。 printf(%8s, 姓名 )。 putchar(39。 i 80。result=len。 } } else //如果 不是學(xué)號(hào)搜索,就是要進(jìn)行姓名檢索,步驟與學(xué)號(hào)類似 { printf(%s\n, 請(qǐng)輸入需要查找的學(xué)生的姓名,退出當(dāng)前菜單請(qǐng)輸入 1.)。 putchar(39。 i 79。 putchar(39。 printf(%, data[result].math)。)。 printf(%12s, 平均分 )。 printf(%8s, 姓名 )。 putchar(39。 i 80。 goto lab。 //輸入 1時(shí)返回主界面 while( data[result].no != find_no amp。) //如果輸入值為 2,即是要使用學(xué)號(hào)搜索 { printf(%s\n, 請(qǐng)輸入需要查找的學(xué)生的學(xué)號(hào),退出當(dāng)前菜單請(qǐng)輸入 1.)。 } else { printf(請(qǐng)選擇查找的方式 : \n)。 char str[256]。 return。 *len = *len 1。 goto lab。 //輸入為 1是返回主界面 while( (data[pos].no != no) amp。 //lab用來作為 goto語句的返回 點(diǎn) printf(%s\n, 輸入需要?jiǎng)h除的學(xué)生的學(xué)號(hào),退出當(dāng)前菜單請(qǐng)輸入 1.)。 scanf(%d, amp。 continue。data[*len].English)。 while(no != 1) { data[*len].no = no。 printf(1\n)。 putchar(39。)。 } STUDENT。 //以下分別定義語文、數(shù)學(xué)、英語、平均分、總分 double math。 ( 6)保存功能:將學(xué)生記錄存在自定義文件名的文件中。 ( 2)添加功能:可以一次完成若干條記錄的輸入。 ●系統(tǒng)的各個(gè)功能模塊要求用函數(shù)的形式實(shí)現(xiàn)。 G、調(diào)試程序、測(cè)試數(shù)據(jù)過程成功。 C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 C、把一個(gè)算法變?yōu)橛?C語言編寫的結(jié)構(gòu)化程序。 課程設(shè)計(jì)所培養(yǎng)的能力 A、分析問題。 ★ 掌握開發(fā)一個(gè)小型實(shí)用系統(tǒng)的基本方法。 ★ 用 C語言合理地開發(fā)簡(jiǎn)潔有效的程序代碼來實(shí)現(xiàn)該設(shè)計(jì)。在很多后續(xù)課程中,都要 使用到 C 語言。C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 C語言課程設(shè)計(jì)報(bào)告 —— 《學(xué)生成績(jī)管理系統(tǒng)》 C語言課程設(shè)計(jì)說明書 ................................................................................................................... 3 第一章:設(shè)計(jì)任務(wù)分析 ................................................................................................................... 4 課程設(shè)計(jì)意義: ................................................................................................................ 4 課程設(shè)計(jì)目的: ................................................................................................................ 4 課程設(shè)計(jì)所培養(yǎng)的能力 .................................................................................................... 4 學(xué)生成績(jī)管理系統(tǒng)設(shè)計(jì)要求 .................................................................................
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1