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

正文內(nèi)容

c語言課程設(shè)計(jì)-學(xué)生成績管理系統(tǒng)-文庫吧資料

2025-05-22 19:04本頁面
  

【正文】 后的學(xué)生數(shù)據(jù)如下 \n)。 a[j]=a[j+1]。jik。ki。 struct student temp。 printf(請選擇功能: \ \ \ \ \ \ \t6.學(xué)號查詢 \ \n\n)。 } printf(%.2f\t%.2f\n,a[k].sum,a[k].ave)。m6。k++) { printf(%d\t%s\t,a[k].num,a[k].name)。 for(k=0。 //清屏 printf(學(xué)號 \t 姓名 \t 第 1 科 \t 第 2 科 \t 第 3 科 \t 第 4 科 \t 第 5 科 \t 第 6科 \t 總分 \t 平均分 \n)。 } void display(struct student a[]) //顯示函數(shù) 22 { int k,m。)。||b==39。 }while(b==39。//刷新標(biāo)準(zhǔn)輸入緩沖區(qū) scanf(%c,amp。 printf(是否繼續(xù)錄入學(xué) 生數(shù)據(jù) ?\n(Y/N))。 a[i].ave=a[i].sum/m。k++) { a[i].sum=a[i].sum+a[i].f[k].s。 for(k=0。 a[i].f[k].s = temp。 scanf(%f,amp。k++) { printf(請輸入第 %d 科目成績 :,k+1)。 for(k=0。 printf(姓名: )。 scanf(%d,amp。 printf(請輸入學(xué)生信息 \n)。 scanf(%d,amp。 float sum=0。 int k。 printf(\n)。 //儲存為 TXT 文件 } }while(number!=0)。 //按學(xué)生姓名查詢 case 8:save(stu)。 //按學(xué)生學(xué)號查詢 case 7:chaxun2(stu)。 //刪除學(xué)生成績數(shù)據(jù) \n case 6:chaxun1(stu)。 //插入學(xué)生成 績數(shù)據(jù) case 5:del(stu)。 //按總成績排序 case 4:charu(stu)。 //顯示學(xué)生成績數(shù)據(jù) case 3:paixu(stu)。 //錄入新學(xué)生成績數(shù)據(jù) case 2:display(stu)。 //退出 case 1:luru(stu)。 printf(\n\n)。 do { 20 scanf(%d,amp。 printf(請選擇功能: \n\ \ \成績數(shù)據(jù) \ \ \據(jù) \ \ \ TXT 文件 \n\n)。 printf(\n\t\t\t 學(xué)生成績管理系統(tǒng) \n\n)。 } } printf(********************************************************************************\n)。x6。y99。 int x,y。//姓名查詢函數(shù) void save(struct student a[])。//查詢輸出函數(shù) void chaxun1(struct student a[])。 //刪除函數(shù) void display(struct student a[])。 //排序函數(shù) void charu(struct student a[])。 void luru(struct student a[] )。 int i=0。 float sum。 char name[20]。 struct student //學(xué)生數(shù)據(jù) { int num。 具體代碼實(shí)現(xiàn) include include include struct score //各科成績 { float s。 而后可以根據(jù)不同的函數(shù)來刪除、修改學(xué)生的成績信息 。//姓名查詢函數(shù) void charu(struct student a[])paixu(struct student a[])調(diào)用 paixu(struct student a[]) struct student a[]。//查詢輸出函數(shù) void chaxun1(struct student a[])。 //刪除函數(shù) void display(struct student a[])。 //排序函數(shù) void charu(struct student a[])。 void luru(struct student a[] )。 }。
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1