the output you posted is wrong. Here is the correct output. Had you bothered to compile and run that program you would have seen it too.
The contents of the array are :
1 5 0
2 4 -2
3 3 0
4 2 2
5 1 4
Last edited by Ancient Dragon; Nov 3rd, 2009 at 10:28 pm.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,953 posts
since Aug 2005