input: Write a function to calculate the compound interest given the investment amount, rate of interest, and time. If the input values are not provided then return 0.
  
  def compoundInterest(investment_amount, rate_of_interest, time):
      if investment_amount is None or rate_of_interest is None or time is None:
          return 0
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest
  
  assert compoundInterest(1000, 5, 5) == 1276.2815625000003
  assert compoundInterest(2000, 7, 10) == 3934.302662451053
  assert compoundInterest(5000, 3, 4) == 5627.543179283798
  assert compoundInterest(None, 5, 5) == 0
  assert compoundInterest(1000, None, 5) == 0
  assert compoundInterest(1000, 5, None) == 0
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 0
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest