input: Write a function to calculate the compound interest given the investment amount, rate of interest, and time. If any of the input parameters are missing or invalid, return 0.
  def compoundInterest(investment_amount, rate_of_interest, time):
      if investment_amount <= 0 or rate_of_interest <= 0 or time <= 0:
          return 0
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest
  
  assert compoundInterest(1000, 5, 5) == 1276.2815625
  assert compoundInterest(5000, 6, 3) == 5955.08
  assert compoundInterest(2000, 0, 2) == 0
  assert compoundInterest(3000, -2, 4) == 0
  assert compoundInterest(0, 4, 5) == 0
output: def compoundInterest(investment_amount, rate_of_interest, time):
      if investment_amount <= 0 or rate_of_interest <= 0 or time <= 0:
          return 0
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest