2ARRAY3 - for(a=0;a<r;a++) { for...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include<stdio.h> #include<conio.h> # void main (void) { int r,c,a,b; int matrix[10][10]; clrscr(); "); scanf("%dX%d",&r,&c); printf("Enter the matrix %d X %d\n",r,c);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: for(a=0;a&lt;r;a++) { for (b=0;b&lt;c;b++) { scanf(&quot;%d&quot;,&amp;matrix[a][b]); } } clrscr(); for(a=0;a&lt;r;a++) { for (b=0;b&lt;c;b++) { printf(&quot;%d &quot;,matrix[a][b]); } printf(&quot;\n&quot;); } getch(); }...
View Full Document

Ask a homework question - tutors are online