Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 253 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 253 Bytes

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 = p * t * r