ADD file via upload

main
pns4qt5fo 1 year ago
parent 2143cf6865
commit d44f023d30

@ -0,0 +1,21 @@
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main()
{
int a[9][9];
int i,j;
srand(time(NULL));
for(i=0;i<=8;i++)
{
for(j=0;j<=8;j++)
{
a[i][j]=rand()%10;
if(a[i][j]!=0)
printf("%d ",a[i][j]);
else
printf(". ");
}
printf("\n");
}
}
Loading…
Cancel
Save