GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - nurulashraf/java-basic-calculator: A simple Java-based calculator for performing basic arithmetic operations (addition, subtraction, multiplication, division) with user-friendly input handling and error validation. Perfect for beginners exploring Java programming concepts.

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Java Basic Calculator

A simple Java-based calculator that performs basic arithmetic operations: addition, subtraction, multiplication, and division. It includes error handling and user-friendly input validation, making it a great project for beginners learning Java.


Features

  • Perform basic arithmetic operations: +, -, *, /.
  • Handles division by zero with appropriate error messages.
  • Simple and intuitive command-line interface.
  • Organised with a proper package structure.

Installation and Usage

Prerequisites

  • Java Development Kit (JDK) 8 or later installed.
  • A code editor or IDE such as IntelliJ IDEA, Eclipse, or VS Code.

Steps to Run the Project

  1. Clone the repository:
    git clone https://github.com/nurulashraf/java-basic-calculator.git
  2. Navigate to the project directory:
    cd java-basic-calculator
  3. Compile the code:
    javac src/Calculator.java
  4. Run the program:
    java -cp src calculator.Calculator

Project Structure

java-basic-calculator/
├── src/
│   └── Calculator.java  # Main program file          
├── LICENSE              # MIT License
└── README.md            # Project documentation

Contributing

Contributions are welcome! If you have suggestions or improvements, please fork the repository and submit a pull request. For significant changes, feel free to open an issue to discuss them first.


License

This project is licensed under the MIT License.

About

A simple Java-based calculator for performing basic arithmetic operations (addition, subtraction, multiplication, division) with user-friendly input handling and error validation. Perfect for beginners exploring Java programming concepts.

Topics

basic-arithmeticbeginner-friendlycalculatorcommand-line-applicationerror-handlingjavajava-basicsjava-projectssimple-program

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.