From 6a3683dfeb9c711c5c500b3f28c3526367240ea8 Mon Sep 17 00:00:00 2001 From: Supriya22IT58 Date: Fri, 4 Apr 2025 19:24:05 +0530 Subject: [PATCH] Fixed typo in README --- README.md | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b103466139..a004df620b 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,22 @@ ## Simple Interest Calculator -A calculator that calculates simple interest given principal, annual rate of interest and time period in years. +A calculator that calculates simple interest given the principal amount, annual rate of interest, and time period in years. -``` +### 📥 Input: +- `P` → Principal amount +- `T` → Time period in years +- `R` → Annual rate of interest (percentage) + +### 📤 Output: +- **Simple Interest** = `(P × T × R) / 100` + +### 💡 Example: +```bash Input: - p, principal amount - t, time period in years - r, annual rate of interest -Output - simple interest = p*t*r -``` +P = 1000 +T = 2 +R = 5 -_© 2022 XYZ, Inc._ +Output: +Simple Interest = 100