input: Write a function to calculate the compound interest given the initial investment amount, the rate of interest, and the time period in years. 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 round(compoundInterest(1000, 5, 5), 2) == 1276.28
  assert round(compoundInterest(2000, 3, 10), 2) == 2687.83
  assert round(compoundInterest(5000, 7, 3), 2) == 6125.22
  assert round(compoundInterest(100, 0, 5), 2) == 100.00
  assert round(compoundInterest(0, 10, 2), 2) == 0.00
output: def compoundInterest(investment_amount, rate_of_interest, time):
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest