Guest User

Untitled

a guest
Jul 15th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.65 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <time.h>
  4.      
  5.  
  6. int main(int argc, char *argv[])
  7. {
  8.     int a[3][3];
  9.     int satir,sutun;
  10.     srand(time(NULL));
  11.    
  12.     for(satir=0;satir<3;satir++){
  13.                                  for(sutun=0;sutun<3;sutun++){
  14.                                                               a[satir][sutun]=rand()%101;
  15.                                                               printf("%d\t",a[satir][sutun]);
  16.                                                               }
  17.                                  printf("\n");
  18.                                  }
  19.    
  20.    
  21.  
  22.   system("PAUSE"); 
  23.   return 0;
  24. }
Add Comment
Please, Sign In to add comment