C
This commit is contained in:
13
w3school/matrix.c
Normal file
13
w3school/matrix.c
Normal file
@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
|
||||
int matrix[2][3] = { {1, 2, 3}, {4, 5, 6} };
|
||||
int i,j;
|
||||
for (i = 0; i < 2; i++) {
|
||||
for (j = 0; j < 3; j++) {
|
||||
printf ("%d\n", matrix[i][j]);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user