Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 248 Bytes

README.md

File metadata and controls

14 lines (7 loc) · 248 Bytes

A calculator that calculates simple interest given principal, annual rate of interest and time period in years.

Input:

p, principal amount t, tim e period in years r, annual rate of interest

Output

simple interest = ptr