input: Write a function to calculate the compound interest using the given investment amount, rate of interest, and time period. 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
  assert compoundInterest(1000, 5, 5) == 1276.28
  assert compoundInterest(2000, 6, 3) == 2382.03
  assert compoundInterest(500, 4, 4) == 584.93
  assert compoundInterest(1500, 3, 2) == 1591.35
  assert compoundInterest(750, 2, 7) == 864.77
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest