input: Write a function to calculate the compound interest given the investment amount, rate of interest, and time. The function should return the 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(2000, 3, 10) == 2687.832776572312
  assert compoundInterest(5000, 4, 7) == 6582.895187340065
  assert compoundInterest(100, 2, 1) == 102.0
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest