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

正文內(nèi)容

班級信息管理系統(tǒng)c語言課程設計報告-文庫吧資料

2024-09-02 16:08本頁面
  

【正文】 ep4:printf(請輸入學生的 英語成績 : )。 if(gl[n].Math100 || gl[n].Math0) { printf(請正確輸入?。?! \n)。 gets(numstr)。 gl[n].=atof(numstr)。 新疆大學軟件學院《 C 語言程序設計》 課程設計報告 27 printf(請輸入 號: )。 goto tep1。 tep1:gets(numstr)。 goto tep。 tep: gets(numstr)。 printf(請輸入學生的 姓名 :)。 printf(Record NO. %d \n,n+1)。 system(cls)。 default:printf(對不起,請重新選擇 !\n)。939。:exit(0)。 case 39。:rfile()。 case 39。:wfile()。 case 39。:listall()。 case 39。:idone()。 case 39。:modone()。 case 39。:delone()。 case 39。: addone()。 switch(ch[0]) { case 39。\n39。 scanf(%s,ch)。 printf(========================================================\n)。 新疆大學軟件學院《 C 語言程序設計》 課程設計報告 25 printf(\t\t ★ 8. 退出 \n)。 printf(\t\t ★ 6. 保存 \n)。 printf(\t\t ★ 4. 輸出 某 學生 的 所有 信 息 \n)。 printf(\t\t ★ 2. 刪 除 某 學 生 的 信 息 \n)。 //printf(______________________________________________________\n)。 printf(================================================================================\n)。 新疆大學軟件學院《 C 語言程序設計》 課程設計報告 24 } ////////////////////////////////////////////////////////////////// while(TRUE) { printf(\n)。 fclose(fptr)。 else { while(fread(amp。 printf(\n Loading date... \n)。 // rfile()。 char ch[2]。 default: printf(輸入有誤,請 重新輸入 \n\n)。239。break。139。 while(TRUE) { scanf(%s,ch)。 printf(\t\t\t\t★ \n\n)。 printf(\t\t\t 歡迎來到學生服務中心 \n\n)。 system(cls)。 } //////////// 學生界面//////////////////////////////////////////////////////////////// studentSystem() { char ch[2]。 printf(\n\n)。 printf(電話 :%lf ,gl[i].Tel)。 printf(\n\n)。 printf(C 語言 :%lf ,gl[i].Language)。 printf(\n\n)。 printf(英語 :%lf ,gl[i].English)。 printf(\n\n)。 printf(:%lf ,gl[i].)。i++) { if(number1==gl[i].number) break。 for(i=0。 scanf(%lf,amp。 printf(\t\t\t 歡迎來到學生信息服務中心 \n\n)。//承接學號 system(cls)。 新疆大學軟件學院《 C 語言程序設計》 課程設計報告 21 } } } // 本人信息查詢界面/////////////////////////////////////////////////////////////////////////////////////// personalInformation() { int n=0,i。: exit(0)。//教師登陸驗證 case 39。: mima()。//studentSystem 學生界面 case 39。: studentSystem( )。 switch(ch[0]) { case 39。 printf(請選擇 1或 2,按回車鍵結(jié)束 \n\n)。 printf(\t\t\t\t★ \n\n)。 printf(\t\t\t 歡迎來到班級管理系統(tǒng) \n\n)。//顏色 while(TRUE) { system(cls)。 //ch 存放選項 int n=0。 /* 獲得字符串 */ char numstr[50]。 /* 建立結(jié)構(gòu)體變量 */ struct information temp。//密碼 }。//計算機系統(tǒng)基礎(chǔ) double amount。//思修 double PE。//電子電工 double Language。//高數(shù) double English。//電話號碼 double 。//姓名 double number。//修改密碼 otherInformation()。//學生界面 void teacherSystem()。//本人信息查詢 informationSearch ()。//下載文件 void mima()。//學生成績排名信息 wfile()。//修改學生信息 idone()。//增加學生信息 delone()。 (見圖 ) 新疆大學軟件學院《 C 語言程序設計》 課程設計報告 17 圖 學生 信息的運行界面 8 ) 班級 信息 管 理 學 生 的 運 行 界 面 新疆大學軟件學院《 C 語言程序設計》 課程設計報告 18 對 代碼加以分析說明 include include include include include /* 為了調(diào)用 atof()等函數(shù) */ include define TRUE 1 int system(const char *string)。j++) printf(\n NO:%d |,j+1) 輸出全體 學生 相應的信息 return(0) 圖 統(tǒng)計出所有的 學生 信息的( NS)流程圖 在這個子模塊程序中,主要是對輸入的 學生 信息進行統(tǒng)計,統(tǒng)計過后并輸出說有的 學生 信息。(見圖 ) 新疆大學軟件學院《 C 語言程序設計》 課程設計報告 16 圖 學生 記錄的 運行界面 7)統(tǒng)計出所有的 學生 信息的( NS)流程圖 及運行界 面 統(tǒng)計出所有的 學生 信息的 NS流程圖(見圖 ) int j n1? 真 假 您查找的記錄不存在 for(j=0。j++) gl[j].number==number? 真 假 將查詢到的程序一一輸出 flagfind=0 flagfind=1 flagfind!=0? 真 假 您查找的記錄不存在 ! return 0 圖 查找 學生 記錄的( NS)流程圖 該功能是對已經(jīng)錄入的 學生 信息進行查尋,如果你輸入的 學生學 號 存在,則顯示 學生 信息,如果不存在,則提示為“您查找的記錄不存在”。 (見圖 ) 圖 新疆大學軟件學院《 C 語言程序設計》 課程設計報告 15 6)查找 學生 記錄的( NS)流程圖 及運行界 面 查找 學生 記錄的( NS)流程圖 (見圖 ) 定義數(shù)據(jù)變量 輸入 學生 將所輸 學生的學 號 化為 double 型 for(j=0。 flagfind!=0? 真 假 return 0 圖 程序 新疆大學軟件學院《 C 語言程序設計》 課程設計報告 14 修改個人記錄是在原有的基礎(chǔ)上對 學生 信息進行修改,在修改的同時 你可以看到該 學生 原來的信息。j=n。 圖 學生 記錄 程序 該模塊主要通過已經(jīng)輸入的 學生 信息進行刪除,如果你輸入的信息存在或不存 在 , 則 顯 示 以 下 運 行 界 面 。 成功刪除記錄 n=n1。j=(n1)。k++。j++) gl[j].number==number? 真 假 flagfind=1。 for(j=0。(見圖 ) 圖 學生 信息 程序界 面 新疆大學軟件學院《 C 語言程序設計》 課程設計報告 12 4)刪除 學生 記錄的( NS)流程圖及程序運行界面 刪除 學生 記錄的( NS)流程圖 (見圖 ) 定義數(shù)據(jù)變量 輸入某 學生的學 號 gets(numstr)。 輸入 學生 基本信息 輸入 學生的姓名 輸入 學生 的 學生 新疆大學軟件學院《 C 語言程序設計》 課程設計報告 11 輸入 學生 的 電話號碼 輸入 學生 的 號 輸入 學生 的 高數(shù)成績 輸入 學生 的 英語成績 輸入 學生 的 電工電子成績 輸入 學生 的 體育成績 輸入 學生
點擊復制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1