A simple Java console application that performs basic arithmetic operations using a menu-driven interface.
- Supports addition, subtraction, multiplication, division, modulus, exponentiation, and square root operations.
- Reuses last calculation result via the
"ans"input. - Validates user inputs with friendly error messages.
- Clean and modular code structure guided by a flowchart.
This project follows a structured flow:
See the detailed flowchart in the FLOWCHART.md file for full explanations.
- Java Development Kit (JDK) installed
- Terminal or command prompt
javac Calculator.java
java Calculator