Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
[B]Code:[/B] [CODE]class statistic{ double * store; int noOfData; public: statistic(double* s,int sz); statistic(const statistic &); ~statistic(); double average() const; int size() const; const double* data() const; }; statistic::statistic (double * s , int sz):noOfData(sz){ store=new double[noOfData]; for (int i=0;i<noOfData;i++) store[i]=s[i]; } [/CODE] Definition and test code of the class.. Can … |