I'll call this the row and your for statement goese from 0 to 5 or 6 rows when your array is only 5 rows. Why the equal sign?
Also, why i = i +1 when the usual i++ is the accepted way to write that?
Finally you see line 23 that uses neither i or j but sums up the one array location and also is out of bounds for the array.
You may want to go back to the textbook about how arrays start at zero and if you declare a 5 element array the index is 0 to 4.
That's a lot of initial errors and we have yet to think about averages.
Isn't it about time forums rewarded their contributors?
Contribute to this discussion and earn rewards points that can be cashed out for dollars.
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...