This project is a simple calculator application developed in Java. It's designed as a practice project to familiarize with the Java programming language. The calculator performs basic arithmetic operations such as addition, subtraction, multiplication, and division.
- Performs four basic arithmetic operations:
- Addition
- Subtraction
- Multiplication
- Division
- User-friendly terminal interface
- Basic exception handling
- Java
- Ensure you have Java installed on your system.
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
- Compile the Java file.
- Run the compiled program.
Upon running the program, you'll be presented with a menu in the terminal:
- Enter a number from 1 to 4 to select an operation:
- 1: Addition
- 2: Subtraction
- 3: Multiplication
- 4: Division
- Enter 5 to exit the application.
- Follow the prompts to input numbers for the chosen operation.
- The result will be displayed, and you'll return to the main menu.
This project is completed but may be updated with additional features in the future.
This project demonstrates basic Java concepts including:
- Loops
- Arithmetic operations
- Basic exception handling
- Terminal I/O
The code comments and variable names in this project are written in Spanish as it was developed for personal learning purposes. The logic and structure of the code remain universal.
Feel free to contribute to this project or use it as a learning resource!