0

How to find out possible number of element in a 3 dimentional array.

I had a question today like how many elements are there in a 3d array. here is the array int[ , , ] array = new int[4,5,3]

7th Jun 2017, 5:38 AM
Shah Alam
Shah Alam - avatar
4 Answers
+ 3
Think of it as being a product 4 rows of product 5 colums of product that makes 4*5 = 20 products stack those products 3 layers high and you have 3*20 = 60 products after that you can go on place 4 groups of 60 products on a pallet and you have 240 products ship 6 pallets of 240 product in a container and you have 1440 products do read the comments in question area, those comments are about the questions
7th Jun 2017, 7:55 PM
sneeze
sneeze - avatar
+ 13
4*5*3 = 60
7th Jun 2017, 5:47 AM
Kamil
Kamil - avatar
+ 1
thanks Kamil
7th Jun 2017, 5:48 AM
Shah Alam
Shah Alam - avatar
0
why doesn't python support multidimensional array.. as such is it wise to, import from Another language like Java or C
10th Aug 2017, 2:13 PM
Otumian Empire
Otumian Empire - avatar