[Jprogramming] Remove part of rank-2 array

David Vaughan purpleblues13 at googlemail.com
Thu Oct 13 20:52:10 HKT 2011


I have an array like:

2 3 4
3 4 5
4 5 6

but I want to delete the upper right corner like so:

2 0 0
3 4 0
4 5 6

How can this be done? Thanks.


More information about the Programming mailing list