input: Write a function to calculate the compound interest using the given investment amount, rate of interest, and time. The function should return the calculated compound interest value.
  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(2000, 3, 7) == 2461.844692733961
  assert compoundInterest(5000, 4.5, 10) == 7764.820376406389
  assert compoundInterest(3500, 2.75, 3) == 3801.818248067603
  assert compoundInterest(100, 0, 10) == 100.0
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest