Skip to content

Iqbolshoh/java-calculator-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Calculator App

Banner

📌 Overview

This is a simple Java-based Calculator built using Swing for the graphical user interface (GUI). The calculator supports basic arithmetic operations such as addition, subtraction, multiplication, and division.

🎯 Features

  • User-Friendly Interface – Responsive buttons and a clean design.
  • Basic Arithmetic Operations – Supports +, -, *, and /.
  • Clear Function (C) – Resets the display and stored values.
  • Result Calculation (=) – Computes the entered mathematical expression.
  • Error Handling – Prevents division by zero.

🛠 Technologies Used

  • Java Swing – For the graphical user interface.
  • Java AWT – For event handling and layout management.

🚀 How to Run

  1. Clone the Repository:
    git clone https://github.com/iqbolshoh/java-calculator-app.git
    cd java-calculator-app
  2. Compile the Program:
    javac Calculator.java
  3. Run the Application:
    java Calculator

💡 Usage

  • Click on the numeric buttons (0-9) to enter numbers.
  • Use arithmetic operator buttons (+, -, *, /) to perform operations.
  • Press = to compute the result.
  • Click C to reset the calculator.

Technologies Used

Java Swing AWT

Contributing

Contributions are welcome! If you have suggestions or want to enhance the project, feel free to fork the repository and submit a pull request.

📫 Connect with Me

I love connecting with new people and exploring new opportunities. Feel free to reach out to me through any of the platforms below:

GitHub Telegram LinkedIn instagram WhatsApp Twitter Email

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages