Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 225 Bytes

15-compound-interest-calculator.md

File metadata and controls

11 lines (6 loc) · 225 Bytes

Compound Interest Calculator

Request the Principal.

Request the Rate.

Request the Time in Years.

Calculate and output the simple interest. (P * R * T / 100).

For each year, calculate and output the compound interest.