PRAKTIKUM MEMBUAT MATRIKS ARRAY 2 DIMENSI
September 14, 2023 CODING C++nya #include <iostream> using namespace std; int main() { int bil[2][3]; for (int a=0;a<2;a++){ for (int b=0;b<3;b++){ cout << "matriks " <<a<<","<<b<< " = "; cin >> bil[a][b]; } } cout << "\n============================================" << endl; cout << "Hasil yang dimasukan, tampilannya adalah " << endl; cout << "============================================" << endl; for (int a=0;a<2;a++){ for(int b=0;b<3;b++){ cout << bil[a][b]<< " "; }cout << endl; } } PRAKTIKUM NYA