- #include <stdio.h>
- void multiply(int rows, int cols, int array[rows][cols], int multiplier) {
- int i, j;
- for (i = 0; i < rows; i++) {
- for (j = 0; j < cols; j++) {
- array[i][j] *= multiplier;
- }
- }
- }
- void print(int rows, int cols, int array[rows][cols]) {
- int i, j;
- for (i = 0; i < rows; i++) {
- for (j = 0; j < cols; j++) {
- }
- }
- }
Raw Paste