class Array { int size; double * data; public: Array(int s, double init) { size = s; data = new double[size]; for(int i=0; i