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

正文內(nèi)容

計算機(jī)高級語言課程設(shè)計:學(xué)生成績統(tǒng)計管理系統(tǒng)-文庫吧資料

2024-12-23 06:05本頁面
  

【正文】 l)。itotal。j++) { long double a=0。 } } void all::average() //計算各科的平均成績 { for(int j=0。j++) coutsetw(10)stu[i].score[j]。 for(int j=0。i++) { stu[i].range=i+1。 for(int i=0。 } } void student::display() //顯示學(xué)生個人信息 { 19 selectsort()。 stu[j]=stu[i]。jtotal。itotal1。 int i,j。 stu[i].ave=stu[i].sum/n。jn。i++) 18 { stu[i].sum=0。 for(int i=0。 stu[i]=aa。j++) { if(stu[i].sumstu[j].sum) { aa=stu[j]。i++) for(j=i+1。 for(i=0。 } void student::selectsort() //按總成績降序排列 { student aa。jn。 17 cinsetw(10)stu[total].name。 cout學(xué)號 setw(8)姓名 setw(12) 數(shù)學(xué)成績 setw(10)英語成績 setw(10)C++成績 endl。 int total=0。 //計算平均值成員函數(shù) void display()。 //每學(xué)科的各等級人數(shù)比例 void count()。 //每學(xué)科的平均成績 int people[5]。 //顯示 }stu[N]。 //刪除 void student::Exit()。 //查詢 void insert()。 //按學(xué)號升序排列 void selectsort()。 //輸入 void count()。 //平均成績 int range。 //學(xué)生科目成績 double sum。 //學(xué)號 string name。 五、參考文獻(xiàn) 《 C++程序設(shè)計》清華出版社 2021, 5 六、源代碼 15 學(xué)生成績統(tǒng)計管理程序 includeiostream //引用庫函數(shù) includeiomanip //引用控制符處理 includestring //字符串 using namespace std。都說“萬變不離其宗”,書本是我們課后學(xué)習(xí)的參照。從錯誤中,我發(fā)現(xiàn)了自己的不足,同時也學(xué)會讓自己學(xué)會如何面對這些不足。平時看老師很快的將錯誤挑出,并熟練的改正,覺得是 輕而易舉的事,可是這次實踐讓我學(xué)會了 從細(xì)微之處著手。我欣喜,因為我實現(xiàn)了一個從理論到實踐的飛躍;我感懷,因為有同學(xué)和老師的幫助和支持。 通過 為期兩周的 努力 , 挑戰(zhàn) 程序設(shè)計的難度 , 終于 將程序正確地運(yùn)行 。 —— 題記 從開始的懵懂與緊張,到現(xiàn)在的了解與欣喜,伴隨著那無數(shù) 的 14 “ error”和“ warning” 閃爍 ,我漸漸學(xué)會了 在失敗中 成長。精心的演繹,這才是最重要的。 }while(1)。 } break。Y39。y39。 coutendl。 fflush(stdin)。 13 default: cout確定要退出嗎 ?endl。) { total=0。||ch==39。 if(ch==39。 fflush(stdin)。 cout繼續(xù)該操作請輸入 Y/y:endl。 break。y39。Y39。 coutendl。 fflush(stdin)。 } cout刪除成功,繼續(xù)刪除請輸入 Y/y:endl。 12 system(pause)。 //人數(shù) 1 system(cls)。 else do { system(cls)。 break。y39。Y39。 coutendl。 fflush(stdin)。 cout插入成功,繼續(xù)插入請輸入 Y/y:endl。 stu[total].insert()。 case 7: if(total==0) cout數(shù)組為空,請在主菜單中選擇 1 添加數(shù)據(jù) endl。)。||ch==39。 } while(ch==39。 fflush(stdin)。 //修改 cout修改成功,繼續(xù)修改請輸入 Y/y:endl。 case 6: if(total==0) 10 cout數(shù)組為空,請在主菜單中選擇 1 添加數(shù)據(jù) endl。)。||ch==39。 } while(ch==39。 fflush(stdin)。 cout查詢成功,繼續(xù)查詢請輸入 Y/y:endl。 case 5: if(total==0) cout數(shù)組為空, 請在主菜單中選擇 1 添加數(shù)據(jù) endl。 coutendl。 al[n].count()。 else { cout各科學(xué)生成績?yōu)?:endl。 } break。 stu[total].display()。 else { cout學(xué)生信息為 :endl。 break。 cout*******************endl。 case 2: 8 cout*******************endl。 coutendl。 cout英語科統(tǒng)計結(jié)果為 endl。 break。 cout*******************endl。 case 0: cout*******************endl。 //計算平均值成員函數(shù) void display()。 //每學(xué)科的各等級人數(shù)比例 void count()。 //每學(xué)科的平均成績 int people[5]。 //顯示 }stu[N]。 //刪除
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1