R
ATE
O
F
R
ETURN
INPUT THE PARAMETERS, COMPUTE THE LAST
COMPARE RATES, BEGINNING AND ENDING AMOUNTS