input: Write a function to calculate the compound interest given the investment amount, rate of interest, and time period. Return the calculated 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(5000, 3, 10), 2) == 6719.58
  assert round(compoundInterest(2000, 7, 4), 2) == 2621.64
  assert round(compoundInterest(8000, 2.5, 8), 2) == 9737.42
  assert round(compoundInterest(3000, 4, 3), 2) == 3374.59
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest