Re: project due tomorrow
Indices always begin at 0, not 1. Therefore, if you declare an array with 9 elements, it will contain the elements 0,1,2,3,4,5,6,7 and 8. NOT 9! If you want 0 - 9, use an array with 10 elements.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Mr. Xav | Website | Forums | Blog
|