Advertisement
dllbridge

Untitled

Oct 28th, 2024
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.40 KB | None | 0 0
  1.  
  2.  #include <stdio.h>
  3.  
  4.  
  5. /////////////////////////////////////////////////////////
  6. int main()                                             //
  7. {
  8.     int array[10][10] = { 0 };
  9.    
  10.     for(int i = 0; i < 10; i++)
  11.     {
  12.         array[i][9] = 7;
  13.     }
  14.  
  15.     for (int i = 0; i < 10; i++) {   // Ñòðîêè
  16.     for (int j = 0; j < 10; j++)   
  17.     {
  18.         printf("%d  ,", array[i][j]);
  19.     }   printf("\n");
  20.     }
  21.    
  22. }
  23.  
  24.  
  25.  
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement