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]
4 ответов
+ 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
+ 13
4*5*3 = 60
+ 1
thanks Kamil
0
why doesn't python support multidimensional array.. as such is it wise to, import from Another language like Java or C