Row with the biggest and smallest sum in matrix
<p>i have a program where i enter numbers to make a matrix, then it sums numbers in each row and print it. But i need to print even the row with the biggest and smallest sum. 
Here is a code:</p>

<pre><code>#include &lt;stdio.h&gt;

int main (void)
{
    static int array[10][10];
    int i, j, m, n, sum = 0;

    printf("Enter the order of the matrix\n");
    scanf("%d %d", &amp;m, &amp;n);
    printf("Enter the co-efficients of the matrix\n");
    for (i = 0; i &lt; m; ++i)
    {
        for (j = 0; j &lt; n; ++j)
        {
            scanf("%d", &amp;array[i][j]);
        }
    }
    for (i = 0; i &lt; m; ++i) 
    {
        for (j = 0; j &lt; n; ++j) 
        {
            sum = sum + array[i][j] ;
        }
        printf("Sum of the %d row is = %d\n", i, sum);
        sum = 0;
    }

}
</code></pre>