Skip to content

Instantly share code, notes, and snippets.

View LuckyIndraEfendi's full-sized avatar
🔥
working from home

Lucky Indra Efendi LuckyIndraEfendi

🔥
working from home
View GitHub Profile
#include <stdio.h>
void preview(int matriks[2][2]) {
int i, j;
for (i = 0; i < 2; ++i) {
printf("[");
for (j = 0; j < 2; ++j)
printf("%2d%s", matriks[i][j], (j + 1) < 2 ? ", " : "");
printf("]\n");
}