input: Write a function to calculate the compound interest given the investment amount, rate of interest, and time period. The function should return the value of the compound interest.
  def compoundInterest(investment_amount, rate_of_interest, time):
      return investment_amount * (pow((1 + rate_of_interest / 100), time))
  
  ### Test cases:
  investment_amount = 1000, time = 5, rate_of_interest = 5
  ci = compoundInterest(1000, 5, 5)
  print(ci)
output: def compoundInterest(investment_amount, rate_of_interest, time):
      return investment_amount * (pow((1 + rate_of_interest / 100), time))