Try an output something like this

run:
ages.length = 10
ages[1].length = 5
ages[][1].length = 3


Starting row 0

Starting column 0
1000 1001 1002
Starting column 1
1003 1004 1005
Starting column 2
1006 1007 1008
Starting column 3
1009 1010 1011
Starting column 4
1012 1013 1014

Starting row 1

Starting column 0
1015 1016 1017
Starting column 1
1018 1019 1020
Starting column 2
1021 1022 1023
Starting column 3
1024 1025 1026
Starting column 4
1027 1028 1029

Starting row 2

Starting column 0
1030 1031 1032
Starting column 1
1033 1034 1035
Starting column 2
1036 1037 1038
Starting column 3
1039 1040 1041

etc.

On Jan 19, 6:26 am, brav <[email protected]> wrote:
> I'm having a problem understanding the exercise below, can s'one
> please help out a brother,
>
> what is expected here?  how is the output supposed to look like?
>
> * Declare and initialize 3-dimensional array of int
> * Initialize each cell with increasing integer number starting from
> 1000, 1001, 1002, and so on.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to