Senin, 07 Mei 2012

C++ Menentukan Matriks Tranpouse

23.07


#include
#include

using namespace std;

int main(int argc, char *argv[])

{
int a[10][10],m,n,i,j;
cout<<"Masukkan Jumlah Baris: ";
cin>>m;
cout<<"Masukkan Jumlah kolom: ";
cin>>n;
cout<
for(i=0;i
{
for(j=0;j
{
cout<<"masukkan elemen a: "<
cin>>a[i][j];
}
}
cout<
for(i=0;i
{
for(j=0;j
{
cout<
}
cout<
}
cout<
for(i=0;i
{
for(j=0;j
{
cout<
}
cout<
}
system("PAUSE");
return EXIT_SUCCESS;

}


Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 komentar:

Posting Komentar

 

© 2013 Raizexe Blog. All rights resevered. Designed by Templateism

Back To Top