#include <bits/stdc++.h>using namespace std;class Student {public:Student(const string&amp; name, int score): itsName(name), itsScore(score) {}static float aver() {return sum_score / float(count);}void sum() {sum_score += itsScore;count++;}private:string itsName;int itsScore;static int sum_score;static int count;};int Student::sum_score = 0;int Student::count = 0;int main(){Student stu[5] ={Student(&quot;Ma&quot;,89),Student(&quot;Hu&quot;,90),Student(&quot;LU&quot;,95),Student(&quot;Li&quot;,88),Student(&quot;Gao&quot;,75)};for(int i=0;i<5;i++)stu[i].sum();cout<<&quot;Average=&quot;<<Student::aver()<<endl;}