/*Finding the two arrys's max and sum*/ #include<stdio.h> #include<stdlib.h> int main() { int arrys[2][3],sum=0,max,x,y; printf("Please put the arrys:\n"); for(x=0; x<2; x++) for(y=0; y<3; y++) scanf("%d",&arrys[x][y]); for(x=0; x<2; x++)//Finding the max and calculatting the sum// for(y=0; y<3; y++) { if(max<arrys[x][y]) max=arrys[x][y]; sum=sum+arrys[x][y]; } printf("max=%d sum=%x\n",max,sum);//output format// system("pause"); return 0; }