Declare and implement a function called arraySameSize
that receives two two-dimensional arrays of
Int
values as parameters and returns true if they have the same size in every dimension.
If both passed arrays are null
you should return true
, but if only one is null
return false
.
Stuck? You may find these lessons helpful: