Skip to content

Sirak-K/my-project-6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculator App

Project Description

The Calculator App is a Java application that allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.

Features

  • User-friendly graphical user interface (GUI)
  • Supports addition, subtraction, multiplication, and division operations
  • Error handling for invalid input and division by zero

How to Install

Installation Method 1) Download ZIP

  1. Clicking on the "Code" button on this page.
  2. Select "Download ZIP".

Installation Method 2): Cloning

  1. Ensure you have Java installed on your computer.
  2. Clone this repository to your local machine using the following command:
    git clone https://github.com/Sirak-K/my-project-6.git
    

How to Use

  1. Compile the Calculator.java file using the Java compiler: javac Calculator.java.
  2. Run the application: java Calculator.
  3. The GUI window titled "Simple Calculator" will appear.
  4. Enter the first number in the "Enter first number" text field.
  5. Enter the second number in the "Enter second number" text field.
  6. Click on the operation button (Add, Subtract, Multiply, Divide) to perform the corresponding arithmetic operation.
  7. The result will be displayed in the "Result" text field.

Technologies Used

  • Java
  • Swing (Java GUI Library)

License

This project is licensed under the MIT License.

Contact

For any questions or feedback, please contact [email protected].

About

Project 6 - Application - Calculator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages