input: Write a function to calculate the compound interest given the investment amount, rate of interest, and time period. The function should 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.2815625000003
  assert compoundInterest(500, 3, 3)==546.3680000000001
  assert compoundInterest(2000, 4, 7)==2640.966402500001
  assert compoundInterest(1500, 6, 10)==2693.7409107948003
  assert compoundInterest(3000, 2, 15)==4241.701293340117
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest