🧮 Advanced Calculator (CLI)

A Command-Line Advanced Calculator built in Python that supports both basic and scientific mathematical operations.

🚀 Features
✅ Basic Operations

Addition

Subtraction

Multiplication

Division

✅ Scientific Operations

Square Root

Power

Natural Logarithm (ln)

Sine (Degrees)

Cosine (Degrees)

Factorial

✅ Error Handling

Prevents division by zero

Prevents square root of negative numbers

Prevents logarithm of non-positive numbers

Factorial works only for non-negative integers

📦 Installation

Install from PyPI:

pip install advanced-calculator-prashant

▶️ Usage

After installation, run:

advcalc


You will see the calculator menu in your terminal.
Enter the number corresponding to the operation and follow the prompts.

🛠 Example

Addition Example

Enter your choice: 1
Enter first number: 10
Enter second number: 5
Result: 15


Factorial Example

Enter your choice: 10
Enter number: 5
Result: 120

🐍 Requirements

Python 3.8 or higher

📁 Project Structure
MATH_CAL_PACKAGE/
│
├── mathcal/
│   ├── __init__.py
│   └── main.py
│
├── setup.py
└── README.md

📄 License

MIT License

👨‍💻 Author

Prashant Rai