@@ -0,0 +1,1487 @@
+// inputs will be:%0Avar oddList = %5B1, 2, 3, 4, 5, 5, 7%5D%0Avar evenList = %5B4, 4, 5, 5, 6, 6, 6, 7%5D%0A%0A//Our functions are:%0Afunction Sum(list) %7B%0A  for (var length = list.length, counter = 0, total = 0; counter %3C length; counter++) %7B%0A    total += list%5Bcounter%5D;%0A  %7D%0A  return total%0A%7D%0A%0Afunction Mean(list) %7B%0A  var length = list.length;%0A  return Sum(list)/length;%0A%7D%0A%0Afunction Median(list) %7B%0A  var length = list.length;%0A  var half = Math.floor(length/2);%0A  if (length %25 2 != 0) %7B%0A    return list%5Bhalf+1%5D;%0A  %7D%0A  else %7B%0A    var result = (list%5Bhalf%5D+list%5Bhalf+1%5D)/2;%0A    return result;%0A  %7D%0A%7D%0A%0A// Tests%0Aconsole.log(Sum(oddList));%0Aconsole.log(Sum(evenList));%0Aconsole.log(Mean(oddList));%0Aconsole.log(Mean(evenList));%0Aconsole.log(Median(oddList)); // Yes, I know these medians aren't coming out right.%0Aconsole.log(Median(evenList)); // But we aren't allowed to fix it.  It's in the psuedocode.  Oh well.%0A%0A// Trevor: Refactor was not really possible since the code was already really clean and concise. Great job on that guys!%0A%0A// Trevor: User Stories%0A%0A// As a user, I want to give you two lists of numbers and I want you to run some tests on them. First, I will want to know the sum of each list. Second, I need to know the mean of these same lists. Lastly, I will need the median of the two lists.%0A%0A//I think that's how we were supposed to do the user stories, it seems pretty simplistic. If there's anything more you all should think I should add to this feel free to let me know and I'll fiddle with it!

Add user stories and refactor to telephone.