rishivarathan / os-practical

0 stars 0 forks source link

program 3 os #3

Open rishivarathan opened 1 year ago

rishivarathan commented 1 year ago

include

int main() { int a[2][2],i,j,n,m; printf("Enter the row:"); scanf("%d",&n); printf("Enter the column:"); scanf("%d",&m); for(i=0;i<n;i++) { for(j=0;j<m;j++) { printf("\n enter %d %d value",i,j); scanf("%d",&a[i][j]); }

}
for (i=0;i<n;i++)
{
    printf("\n");
    for(j=0;j<n;j++)
    {
        printf("\t %d",a[i][j]);
    }
}

}