This project consists of two distinct calculator applications:
-
GUI Calculator: A graphical user interface-based calculator.
-
Text Calculator: A text-based calculator that operates via command line.
Both applications require the following to be installed: - Java Development Kit (JDK) 17 or higher
The GUI Calculator provides a user-friendly graphical interface for performing basic arithmetic operations.
-
Addition, subtraction, multiplication, and division
-
Clear and reset functionality
-
Interactive buttons for digits and operations
-
Clone the repository:
git clone https://github.com/yaseno2186/CALCULATOR.git
-
Navigate to the
guiCalculator
directory:cd CALCULATOR/guiCalculator
-
Compile the Java files:
javac *.java
-
Run the application:
java guiCalculator
The Text Calculator allows users to perform arithmetic operations through the command line.
-
Supports basic arithmetic operations: addition, subtraction, multiplication, and division
-
Simple text-based input and output
-
Clone the repository:
git clone https://github.com/yaseno2186/CALCULATOR.git
-
Navigate to the
TextCalculator
directory:cd CALCULATOR/TextCalculator
-
Compile the Java files:
javac *.java
-
Run the application:
java TextCalculator
We welcome contributions! Please fork the repository and create a pull request with your changes.