A Java arithmetic application that performs basic mathematical operations with robust input validation and error handling.
Built as part of the SYST 17796 course at Sheridan College.
- Addition, subtraction, multiplication, and division
- Input validation to handle non-numeric entries gracefully
- Division-by-zero error handling
- Clean console-based user interface
Prerequisites: Java 11+ and a terminal or IDE
Compile and run from the terminal:
# Clone the repository
git clone https://github.com/giri-bikash/arithmetic-calculator-java.git
cd arithmetic-calculator-java
# Compile
javac -d out src/**/*.java
# Run
java -cp out MainOr open in IntelliJ IDEA / Eclipse and run the Main class directly.
Enter first number: 15
Enter operator (+, -, *, /): *
Enter second number: 4
Result: 60.0
Sheridan College — Computer Systems Technology