input: Write a function to calculate the compound interest for a given investment amount, rate of interest, and time period. The function should return the computed 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 round(compoundInterest(1000, 5, 5)) == 1276
  assert round(compoundInterest(5000, 3, 7)) == 6147
  assert round(compoundInterest(2000, 4, 10)) == 2960
  assert round(compoundInterest(100, 2, 3)) == 106
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest