**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];
}
```

Definition and test code of the class..

Can somebody solve this problem? It's my **last lesson for the degree**. I'm from Greece. Can you help me??? Please??

I know how to do the definition.. but I don't know the test code..