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.2815625
  assert compoundInterest(2000, 3, 7)==2479.493543193929
  assert compoundInterest(5000, 4, 10)==7401.22125396034
  assert compoundInterest(3000, 6, 3)==3573.09152
  assert compoundInterest(10000, 2.5, 8)==12184.029402952862
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest