Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 619 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 619 Bytes

Simple Interest Calculator

This is a simple C++ program to calculate the simple interest based on the principal amount, rate of interest, and time period provided by the user.

How it works

  1. The program prompts the user to enter the principal amount.
  2. The program prompts the user to enter the rate of interest.
  3. The program prompts the user to enter the time period (in years).
  4. The program calculates the simple interest using the formula: [ \text{Simple Interest} = \frac{\text{Principal} \times \text{Rate} \times \text{Time}}{100} ]
  5. The program outputs the calculated simple interest.