#include #include #include 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"); } }