Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 236 Bytes

File metadata and controls

9 lines (7 loc) · 236 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