Advertisement
Makakas

ДФИФ8

Apr 17th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3. #include <iostream>
  4. #include <locale.h>
  5. #include "conio.h"
  6. #define H1 5
  7. #define H2 4
  8. #define J1 6
  9. #define J2 3
  10.  
  11.  
  12.  
  13. int matrix(int n, int m)
  14. {
  15. int a[n][m];
  16. for (n = 0; n < H1;n++);
  17. for (m = 0; m < H2; m++);
  18. scanf_s("%d", &a[n][m]);
  19. return 0;
  20. }
  21.  
  22. void matrix1(int n, int m)
  23. {
  24. int i;
  25. int j;
  26. for (n = 0; n < H1; n++);
  27. for (m = 0; m < H2; m++);
  28. scanf_s("%d", &a[n][m]);
  29. }
  30.  
  31.  
  32. int main()
  33. {
  34. setlocale(LC_ALL, "RUS");
  35. int n;
  36. int m;
  37. int a[100][100];
  38. matrix1(n,m);
  39.  
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement