This is the source code:
# include
Using namespace STD.
Int main () {
Int I, j, row, colom, Max.
Int a [3] [4].
for(i=0; i<3; I++)
for(j=0; j<4. J++)
Cin> A [3] [4].
Max=a [0] [0];
The row=0, colom=0;
for(i=0; i<3; I++)
for(j=0; j<4. J++)
If (max{Max=a, [I] [j].
The row=I; Colom=j;
}
cout<" \ nmax="& lt;
}
The following is the result of output:
CodePudding user response:
# includeUsing namespace STD.
Int main () {
Int I, j, row, colom, Max.
Int a [3] [4].
for(i=0; i<3; I++)
for(j=0; j<4. J++)
Cin> A, [I] [j].
Max=0;
The row=0, colom=0;
for(i=0; i<3; I++)
{
for(j=0; j<4. J++)
{
If (max{
Max=a, [I] [j].
The row=I;
Colom=j;
}
}
}
cout<" \ nmax="& lt;
}
CodePudding user response:
Cin> A [3] [4].=="" a [I] [j].