1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
class ArrayFixer
{
public:
int Fix(int One [], int Two [], int Three [], int Four [])
{
return 0;
}
};
int main()
{
ArrayFixer af;
int Array1[3] = { 9,4,7 };
int Array2[3] = { 5,2,2 };
int Array3[3] = { 5,0,3 };
int Array4[3] = { 7,4,6 };
af.Fix(Array1, Array2, Array3, Array4);
cout << Array1[0] << Array1[1] << Array1[2];
cout << Array2[0] << Array2[1] << Array2[2];
cout << Array3[0] << Array3[1] << Array3[2];
cout << Array4[0] << Array4[1] << Array4[2];
return 0;
}
|