Program Membuat Matrik Ordo 2x2 dengan Array 2 Dimensi - Larik / Array C/C++
Praktikum Larik / Array C/C++
Hasil running
#include <conio.h> #include <iostream> using namespace std; // matrik 2x2 main (void) { int i, j; int data [2][2] = {{2,3},{4,2}}; for (i = 0; i < 2; i++) { for (j = 0; j < 2; j++) { cout << data [i] [j]; cout << " "; } cout << endl; } getch (); }
Hasil running
0 Response to "Program Membuat Matrik Ordo 2x2 dengan Array 2 Dimensi - Larik / Array C/C++"
Post a Comment