input: Write a python function to generate the maximum combination of elements in an array by multiplying them sequentially.
  assert generatemaxcombo([4, 2, 8, 12]) == [4, 8, 64, 768]
  assert generatemaxcombo([1, 3, 5, 7]) == [1, 3, 15, 105]
  assert generatemaxcombo([10, 5, 2]) == [10, 50, 100]
output: def generatemaxcombo(arr):
      result = []
      current_product = 1
      for num in arr:
          current_product *= num
          result.append(current_product)
      return result