void maxarea(int tarr[],int count) { int i,p,j; p=tarr[0]*tarr[1]; for(i=0;i<count;i++) { for(j=i+1;j<count;j++) { if((tarr[i]*tarr[j])>p) p=tarr[i]*tarr[j]; } } printf("%d",p); }
>
for
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)