def gic(value, years, rate):
"""
Calculates and prints a table of how much a GIC (Guaranteed
Income Certificate) is worth over a number of years, and
returns its final value.
Use: final_value = gic(value, years, rate)
-------------------------------------------------------
Parameters:
value - GICs initial value (int > 0)
years - number of years to maturity (int > 0)
rate - percent increase value per year (float > 0)
Returns:
final_value - the final value of the GIC (float)
"""