Asked by Anonymous
Given two 3x3 arrays of integer , x1 and x2 , write the code needed to copy every value from x1 to its corresponding element in x2 .
So far I have
void main()
{
int x[3][3];
for(i=0; i<x1, i++)
{
for(j=0; j<x2, i++)
{
x[i][j]=i;
cout<<x[i][j]<<" ";
}
}
}
So far I have
void main()
{
int x[3][3];
for(i=0; i<x1, i++)
{
for(j=0; j<x2, i++)
{
x[i][j]=i;
cout<<x[i][j]<<" ";
}
}
}
Answers
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.