#encompass the use of namespace std;void masukkan();void perkalian();void tampilanA();void tampilanB();void tampilanHasil();int matriksA[3][3];int matriksB[3][3];int matrikshasil[3][3];int predominant() masukkan(); perkalian(); tampilanA(); tampilanB(); tampilanHasil();void masukkan() cout<<"Nilai matriks A"<>matriksA[i][j]; cout<<"nmatriks B"<>matriksB[i][j]; void perkalian() for(int i=0; i<4; i++) for(int j=0; j<3; j++) matrikshasil[i][j] = 0; for(int i=0; i<4; i++) for(int j=0; j<3; j++) for(int k=0; okay<3; okay++) matrikshasil[i][j] = matrikshasil[i][j] + matriksA[k][j]*matriksB[k][j]; void tampilanA() cout<<"nTampilan matriks A:"<
[Tested] Program Perkalian Matriks A ordo 3x3 dan matriks B ordo 3x3 Latest Update
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar