input: Write a function to calculate the compound interest given the investment amount, rate of interest, and time. The formula for compound interest is compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time)). Return the calculated compound interest.
  
  assert compoundInterest(1000, 5, 5) == 1276.2815625
  assert compoundInterest(2000, 3, 3) == 2185.454
  assert compoundInterest(500, 7, 10) == 983.5756739789637
output: def compoundInterest(investment_amount, rate_of_interest, time):
      return investment_amount * (pow((1 + rate_of_interest / 100), time))