input: Write a function to calculate the compound interest given the investment amount, rate of interest, and time. 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.2815625
  assert compoundInterest(1500, 3, 7) == 1839.699258032985
  assert compoundInterest(2000, 4, 10) == 2960.4893916514846
  assert compoundInterest(500, 2, 15) == 672.7397234272336
  assert compoundInterest(3000, 6, 20) == 9894.797312067866
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest