From f274afd132c7564173c47df98044071dd87ae335 Mon Sep 17 00:00:00 2001 From: Rishith Reddy Date: Sat, 25 Jan 2025 21:58:46 +0530 Subject: [PATCH] Fix incomplete sentence and improve formatting in README.md --- README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index b103466139..212dfba82f 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,19 @@ ## 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. -``` -Input: - p, principal amount - t, time period in years - r, annual rate of interest -Output - simple interest = p*t*r -``` +### Input: +- `p`: Principal amount +- `t`: Time period in years +- `r`: Annual rate of interest + +### Output: +- `simple interest = p * t * r` + +### Example: +If `p = 1000`, `t = 2 years`, and `r = 5%`, +- `simple interest = 1000 * 2 * 0.05 = 100` + +This project is licensed under the Apache License 2.0. -_© 2022 XYZ, Inc._