code to calculate simple interest
A calculator that calculates simple interest given principal, annual rate of interest and time period in years.
p, principal amount
t, time period in years
r, annual rate of interest
simple interest = p*t*r