gejebe.cpp

Bookmark and Share
#include<iostream.h>

main()

{

int A[3][2][3]={0,8,1,2,3,1,4,6,6,0,5,1,7,0,1,9,3};

int i,j,k;

for (i=0;i<3;i++)

     for (j=0;j<2;j++)

          for (k=0;k<3;k++)

            cout<<"Posisi "<<i<<", "<<j<<", "<<k<<" adalah "<<A[i][j][k]<<endl;

}

{ 0 komentar... Views All / Send Comment! }

Posting Komentar

Powered By Blogger