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

正文內(nèi)容

高級語言程序設(shè)計(jì)實(shí)驗(yàn)報告-文庫吧資料

2025-02-12 02:34本頁面
  

【正文】 1 score2 score3 score4:\n)。 struct stu *sp=students。 }。 int total。 char name[10]。 maximum 函數(shù)找出最高分的學(xué)生的數(shù)據(jù); 、姓名、 4 門課的成績、總成績和平均成績,最后再輸出最高分學(xué)生的數(shù)據(jù)和總平均成績。 input 函數(shù)從鍵盤上輸入 10 個學(xué)生的 數(shù)據(jù)。 printf(\naverage=%f\n,aver)。 printf(the highest score\n)。iN。 printf(no.\tname\tscore1\tccore2\tscore3\tscore4\ttotal\taverage:\n)。 aver=average()。 float aver。 內(nèi)蒙古工業(yè)大學(xué)信息工程學(xué)院 第 5頁 } return(j)。i++,sp++) if(sptotalmax) {max=sptotal。 for(sp=students,i=0。 } int maximum() {int i=0,j=0。 } aver=aver/N。 spaverage=sptotal/。i=N。 int i。spsc內(nèi)蒙古工業(yè)大學(xué)信息工程學(xué)院 第 4頁 ore[3])。spscore[1],amp。 scanf(%s,spname) scanf(%d%d%d%d,amp。i++,sp++) {scanf(%d,amp。 for(i=0。 printf(input number name score1 score2 score3 score4:\n)。 struct stu students[N] struct stu *sp=students。 float average。 int score[4]。 輸出形式如下: NO. name score1 score2 score3 score4 total average 1 wang 80 79 81 80 320 2 li 91 88 89 92 360 ..... The highest score: 5 zhang 96 91 93 88 368 The total average= 內(nèi)蒙古工業(yè)大學(xué)信息工程學(xué)院 第 2頁 二、 程序流程圖(大小控制在
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1