a calcualator that calculates simple interest given principle annual rate of interest and time period in years input : p, principal ammount t, time period in years r, annual rate of interest output simple interest = ptR