Created
June 5, 2018 07:14
-
-
Save sagardere/fe63abbd730f1b2de9e2099b6740d476 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void main() | |
{ | |
int i,j,askey; | |
printf("\n\nPrint the 3*3 matrix from i to j\n"); | |
printf("---------------------------------\n"); | |
askey=105; | |
printf("\nThe matrix is : \n"); | |
for(i=0;i<3;i++) | |
{ | |
printf("\n"); | |
for(j=0;j<3;j++) | |
{ | |
printf("%2c", askey++ ); | |
} | |
} | |
printf("\n\n"); | |
} | |
/* | |
O/P : | |
Print the 3*3 matrix from i to j | |
------------------------------------ | |
The matrix is : | |
i j k | |
l m n | |
o p q | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment