Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Mathematically it makes no difference whether you include your points or not. Please see my comment here.
if I may answer... with the if-statement you can stop processing earlier when a field is zero. it would be wasted runtime to loop through the hole array, if the result would be zero anyway. this solution is nice for arrays with bigger size
Yeah for c# the top-voted solution doesn't appear to add MyPoints to the average. I'm new so I'm not sure if there is a mistake here or if I'm missing something.