text: // Write a function that returns the sum of all the odd numbers from 1 to 5000. (e.g. 1+3+5+...+4997+4999)
  
  function sum_add_5000(){
      // Your code here
      return sum;
  }
  
  // Given an array with multiple values, write a function that returns the maximum number in the array. (e.g. for [-3,3,5,7] max is 7)
  
  function findMax(arr) {
      // Your code here
  
      return max;
  }
  
  // Write a function that will swap the first and last values of any given array. The default minimum length of the array is 2. (e.g. [1,5,10,-2] will become [-2,5,10,1]).
  
  function swap(arr) {
      // Your code here
  
      return arrnew;
  }