Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 270 Bytes

File metadata and controls

10 lines (8 loc) · 270 Bytes

github-final-project

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