input: Write a function to calculate the compound interest given the investment amount, rate of interest, and time period in years. Return the compound interest value.
  
  def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest
  
  assert round(compoundInterest(1000, 5, 5), 2)==1276.28
  assert round(compoundInterest(2000, 3, 3), 2)==2185.45
  assert round(compoundInterest(500, 7, 2), 2)==574.5
  assert round(compoundInterest(100, 2, 10), 2)==121.9
  assert round(compoundInterest(3000, 4, 1), 2)==3120.0
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest