Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "my.h"
- void small(int rownum, int colnum, int** table)
- {
- int j;
- int i;
- int small;
- int z;
- printf("f.The various first indices of the smallest int for each and every row is:\n");
- for (i = 0; i < rownum; i++)
- { for( j = 0; j < colnum; j++)
- if (table[i][j] < small)
- { small = table[i][j];
- index = j; }
- printf ("%4d", z);
- small = INT_MAX;
- }
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement