Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- #include <iostream>
- #include <locale.h>
- #include "conio.h"
- #define H1 5
- #define H2 4
- #define J1 6
- #define J2 3
- int matrix(int n, int m)
- {
- int a[n][m];
- for (n = 0; n < H1;n++);
- for (m = 0; m < H2; m++);
- scanf_s("%d", &a[n][m]);
- return 0;
- }
- void matrix1(int n, int m)
- {
- int i;
- int j;
- for (n = 0; n < H1; n++);
- for (m = 0; m < H2; m++);
- scanf_s("%d", &a[n][m]);
- }
- int main()
- {
- setlocale(LC_ALL, "RUS");
- int n;
- int m;
- int a[100][100];
- matrix1(n,m);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement