Accelerated C++ day4

4.組織程序和數據(function&data structure)

a.algorithm

1計算成績 grade()

2找出中值 median()

3重載

4read_hk()

5const vector<>homework& xxx

6異常

b.data structure

struct studentInfo

{

string name;

double median,final;

vector<double> homework;

};

studentInfo s


媽的,淚流滿面。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章