Skip to content

Instantly share code, notes, and snippets.

@kevinkang88
Last active August 29, 2015 13:57
Show Gist options
  • Save kevinkang88/9631785 to your computer and use it in GitHub Desktop.
Save kevinkang88/9631785 to your computer and use it in GitHub Desktop.
want to...
have method ,sum, that is able to calculate the sum of all numbers in an Array
have method,mean, that is able to calculate the average of all numbers in an Array
have method,median, that is able to calculate the median of all numbers in an Array
number of items in an Array can be both odd or even
//Add a reflection to your gist. Use the reflection guidelines to guide your reflection. Aslo answer the following:
// This was a fun project that solidified the code writing process. It was interesting to see person 4's translation come out
// to be similar to person 1's story. Each person in our group was succesful in communicating with the next person and made the cycle
// smooth. Our first test attempt failed at the first requirement and refused to run the remaining tests. This was my mistake of failing
// to notify person2 about the change I made to the story fast enough. The previous version had all the variables in upper case
// letters. We then edited SUM to sum, MEAN to mean,and MEDIAN to median, which after passed all the tests. I fugured out it is
// important to be straight to the point with enough detail for the next person to do their job well.
// http://codesqueeze.com/the-easy-way-to-writing-good-user-stories/ This site was helpful in understand writing user stories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment