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.
  
  def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest
  
  assert compoundInterest(1000, 5, 5) == 1276.2815625000003
  assert compoundInterest(1500, 3, 7) == 1837.5861082864242
  assert compoundInterest(2000, 4, 10) == 2960.489448668004
  assert compoundInterest(500, 6, 3) == 595.5080000000001
  assert compoundInterest(2500, 7, 8) == 4455.651345225483
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest