Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.35 KB

File metadata and controls

41 lines (28 loc) · 1.35 KB

Calculator App

A simple Calculator Application built using Java Swing. This calculator provides basic arithmetic operations such as addition, subtraction, multiplication, and division, with an easy-to-use graphical user interface (GUI).

Features

  • Basic Arithmetic Operations: Perform addition, subtraction, multiplication, and division.
  • Clear Function: Reset the current calculation.
  • Real-Time Calculation: Displays input and results immediately on the screen.

Technology Stack

  • Java Swing: Used for building the user interface.
  • Java: Core language for implementing the logic behind the calculator.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Java Development Kit (JDK) version 8 or later
  • An IDE such as IntelliJ IDEA, Eclipse, or *NetBeans

Usage

  1. Open the Calculator application.

  2. Use the on-screen buttons .

  3. The calculator supports the following functions:

    • Addition: +
    • Subtraction: -
    • Multiplication: *
    • Division: /
    • Clear: C button resets the calculation.
    • Equals: = button to calculate the result.
  4. Results are displayed in real-time as you type.

Example

Here is an example of how you can use the calculator:

  • Input: 5 + 3 * 2
  • Result: 11 (following the order of operations)