Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

💰 Dynamic Simple Interest Calculator (Java)

📌 Overview

This is a beginner-friendly Java console application that calculates Simple Interest (SI) and also allows users to dynamically compute:

  • Principal Amount (P)
  • Rate of Interest (R)
  • Time Period (T)

The program uses a menu-driven approach, making it interactive and easy to use.


🧮 Formula Used

Simple Interest is calculated using:

SI = (P × R × T) / 100

Where:

  • P = Principal amount
  • R = Rate of interest
  • T = Time (in years)

🚀 Features

  • Calculate Simple Interest (SI)
  • Find Principal (P), Rate (R), or Time (T)
  • User-friendly menu-driven interface
  • Input through console
  • Clean and simple logic (beginner-friendly)

🛠️ Technologies Used

  • Java
  • Scanner Class (for user input)

📂 Project Structure

02-dynamic-simple-interest-calculator
├── src
│   └── DynamicSimpleInterestCalculator.java
└── README.md

📸 Sample Output

=== Dynamic Simple Interest Calculator ===
1. Calculate Simple Interest (SI)
2. Calculate Principal Amount (P)
3. Calculate Rate of Interest (R)
4. Calculate Time Period (T)

Enter your choice (1-4): 1
Enter Principal (P): 1000
Enter Rate (R): 5
Enter Time (T): 2

Simple Interest (SI) = 100.0