#include
#include
#include
using namespace std;
int i, j, k, baris, kolom, m1[10][10], m2[10][10], hasil[10][10];
int main(int argc, char *argv[])
{
cout<<"Operasi Perkalian Matriks "<
do
{
cout<<"Jumlah Baris : "; cin>>baris;
cout<<"Jumlah Kolom : "; cin>>kolom;
}
while ((baris>10)||(kolom>10));
cout<<"Matriks A "<
for(i=0;i
for(j=0;j
cout<<"data["<
for(i=0;i
for(j=0;j
cout<<"data["<
cout<<"Matriks A * Matriks B = Matriks C"<
for(i=0;i
for(j=0;j
cout<
cout<<" ";
for(j=0;j
cout<
cout<<" ";
for(j=0;j
cout<
cout<
}
cout<
system("PAUSE");
return EXIT_SUCCESS;
}
0 komentar:
Posting Komentar