Skip to content

MGardier/operation-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧮 Operation-Master ™️

Welcome to Operation-Master, a simple command-line calculator that allows you to perform basic arithmetic operations such as addition, subtraction, multiplication, and division. This project is designed to be used through a command-line interface.

🎯 Project Objective

The goal of Operation-Master™️ is to provide a quick and easy way to perform arithmetic calculations in the command line. You choose an operation, input two numbers, and instantly get the result, with built-in error handling for common issues like division by zero.

⚙️ Features

  • Addition: Add two numbers.
  • Subtraction: Subtract one number from another.
  • Multiplication: Multiply two numbers.
  • Division: Divide one number by another (with division by zero handling).

🛠️ Installation

Follow these steps to install and run Operation-Master™️ locally.

Prerequisites

  • Node.js version 14 or higher must be installed on your machine.

Installation Steps

  1. Clone this repository to your local machine.

    git clone https://github.com/your-username/operation-master.git
  2. Install all dependencies using either npm or pnpm.

    Using npm:

    npm install

    Using pnpm:

    pnpm install
  3. Run the project on cli.

    node yourFile.js

About

A simple calculator with JS for CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published