You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
224 B
16 lines
224 B
3 weeks ago
|
#include<stdio.h>
|
||
|
#include<time.h>
|
||
|
#include<stdlib.h>
|
||
|
int main(){
|
||
|
srand(time(NULL));
|
||
|
int i,j;
|
||
|
int matrix[9][9];
|
||
|
for(i=0;i<9;i++){
|
||
|
for(j=0;j<9;j++){
|
||
|
printf("%d",rand()%10);
|
||
|
}
|
||
|
printf("\n");
|
||
|
}
|
||
|
}
|
||
|
|