input: Write a function to calculate the compound interest given the investment amount, rate of interest, and time. The function should return the compound interest. If any input is missing, return -1.
  
  def compoundInterest(investment_amount, rate_of_interest, time):
      if investment_amount is None or rate_of_interest is None or time is None:
          return -1
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest
  
  assert compoundInterest(1000, 5, 5) == 1276.28
  assert compoundInterest(500, 10, 3) == 665.5
  assert compoundInterest(1000, 7, 10) == 1967.15
  assert compoundInterest(2000, 3, 2) == 2123.60
  assert compoundInterest(None, 5, 5) == -1
  assert compoundInterest(1000, None, 5) == -1
  assert compoundInterest(1000, 5, None) == -1
output: def compoundInterest(investment_amount, rate_of_interest, time):
      if investment_amount is None or rate_of_interest is None or time is None:
          return -1
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest