input: Write a function to calculate the compound interest given the investment amount, rate of interest, and time period. The function should return the compound interest value. The formula for compound interest is: compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time)). 
  
  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(2000, 3, 7) == 2465.8591528416923
  assert compoundInterest(500, 8, 10) == 1079.4625010781747
  assert compoundInterest(3000, 4, 20) == 6568.386018186323
  assert compoundInterest(1500, 6, 3) == 1786.52452
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest