A simple command-line compound interest calculator built using Python.
This project focuses on input validation using loops and calculating compound interest using the standard formula.
- Calculates compound interest using formula:
- A = P(1 + r/100)^t
- Input validation using while loops
- Handles invalid inputs with try-except
- Prevents negative or zero values
- Clean and simple CLI interaction
- Python 3.x
(No external libraries required)
- Using while True loops for input validation
- Handling errors using try-except
- Working with numeric input (float, int)
- Applying mathematical formulas in code
- Using pow() for exponentiation
- Basic CLI interaction
- No menu system
- No breakdown (only final result)
- No support for different compounding types
- CLI only (no GUI)
Beginner
⭐️ This project is part of my Python learning journey.