Skip to content

A simple command line calculator used to perform basic arithmeti operations. These include addition, subtraction, multiplication and division

Notifications You must be signed in to change notification settings

mxixqc/JavaCommandLineCalculator

Repository files navigation

Command-Line Calculator

This is a simple command-line calculator that can perform basic arithmetic operations. It allows you to enter two numbers and an operation, and then calculates the result. It supports the following operations:

  • Addition (+)
  • Subtraction (-)
  • Multiplication (*)
  • Division (/)
  • Square root (√)
  • Cube root (3√)
  • General Root (n√)

Requirements

Java runtime environment (version 8 or later)

Running the Calculator

To run the calculator, follow these steps:

  1. Download the calculator.jar file from this repository.
  2. Open a command-line terminal and navigate to the directory where you downloaded the calculator.jar file.
  3. Run the following command:

`java -jar Calculator.jar`
Follow the on-screen instructions to enter the numbers and the operation you want to perform.

About

A simple command line calculator used to perform basic arithmeti operations. These include addition, subtraction, multiplication and division

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published