Skip to content

Java Calculator is a simple yet efficient calculator application built using Java. It performs basic arithmetic operations like addition, subtraction, multiplication, and division and some others functions with a clean, user-friendly interface and well-structured code for easy understanding and modification.

License

Notifications You must be signed in to change notification settings

Parth2753/Java-Calculator

🧮 Java Calculator

Welcome to Java Calculator, a simple yet powerful console-based calculator built using pure Java.
It supports multiple arithmetic operations and is designed for beginners learning Java fundamentals.


✨ Features

✅ Addition
✅ Subtraction
✅ Multiplication
✅ Division
✅ Modulus (Remainder)
✅ Square
✅ Cube
✅ Average
✅ Percentage


⚙️ Getting Started

🧰 Prerequisites

Make sure you have the following installed:

  • Java JDK 8 or above
  • A code editor or IDE like VS Code, IntelliJ IDEA, or Eclipse

🌱 Why This Project?

💡 “Small steps lead to big learning.”
This was my first GitHub Java project, created to practice:
Java basics (variables, loops, conditionals)
Input/output handling
Arithmetic operations
Console interaction


🚧 Future Enhancements


✨ Support for floating-point numbers
✨ Add error handling (like division by zero)
✨ Create a Graphical User Interface (GUI) version
✨ Add scientific operations (roots, powers, logs)
✨ Include unit tests for validation

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to:
⭐ Star this repo
🍴 Fork it
💬 Open an issue


1️⃣ Clone the Repository


git clone https://github.com/Parth2753/Java-Calculator.git

💬 Coder

👤 Parth Rohilla
“Code. Compile. Create. Repeat.”
📦 GitHub Profile-https://github.com/Parth2753 🔧 Submit a pull request

About

Java Calculator is a simple yet efficient calculator application built using Java. It performs basic arithmetic operations like addition, subtraction, multiplication, and division and some others functions with a clean, user-friendly interface and well-structured code for easy understanding and modification.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages