Rumus Array Dimensi 3

Posted: 7 April 2012 in Semester II, Struktur Data, The Faculty

A[2][4][3] = 0011(H)

@M[m][n][p] = m[0][0][0] + {((m-1) * (jml elemen 2 * jml elemen 3)) + ((n-1)*(jml elemen 3))+((p-1)} * L

A[2][3][2]        = 0011 (H) + {((2-1)*4*3)+((3-1*3)+(2-1}*2

= 0011 (H) + {12+6+1}*2

= 0011 (H) + 338 (D)

= 0011 (H) + 0026 (H)

= 0037 (H)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s