Calculator
Software Engineering

Calculator

JavaMathIterative Design

About this project

A calculator project developed through 5 iterative versions, each building on the previous to add more functionality. Starting from basic addition and subtraction, each iteration introduces new operations, better input handling, and improved user experience.

The progression demonstrates an iterative development approach: Calculator1 handles basic operations, while later versions add multiplication, division, input validation, and error handling for edge cases like division by zero.

The project includes a JOptionPane GUI version that provides a visual dialog-based calculator interface, showing how the same mathematical logic translates from a command-line tool to a graphical application.

Key Features

  • 5 progressive versions
  • Basic and advanced arithmetic
  • Input validation and error handling
  • Division by zero protection
  • Console and GUI versions
  • Iterative development approach

Tech Stack

JavaJOptionPaneScannerOOP