1.1 2.2 3.3 4.4 5.5 6.6 7.7 8.8
- A calculator that calculates simple interest given principal, annual rate of interest and time period in years.
- Input:
- p, principal amount
- t, time period in years
- r, annual rate of interest
- Output
- simple interest = ptr