input: Write a function to calculate the compound interest based on the given investment amount, rate of interest, and time period. The function should return the calculated compound interest.
  
  
  def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest
  
  
  ### Test Cases:
  
  
  assert compoundInterest(1000, 5, 5) == 1276.2815625000003
  assert compoundInterest(2000, 3, 10) == 2687.832511000001
  assert compoundInterest(5000, 7, 4) == 6581.897777920501
  assert compoundInterest(100, 2, 20) == 148.5947395978309
  assert compoundInterest(3000, 0, 10) == 3000.0
  
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest