3.0.9 • Published 3 years ago

@the-math/cli v3.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

TheMath_CLI

TheMath CLI

Lib using the-math to use operations in cli. Need install nodejs in computer

Installation

You can install with npm:

  npm install the-math

You can install with yarn:

  yarn add the-math

Calculator CLI - Exercise

Tier: 2-Intermediate

Create a basic calculator with addition feature.

User Stories

V1 - Version 1.*

  • User can add multiple numbers using add command.
  • User can add floating numbers using the -f flag.
  • User can add only even/odd numbers using even/odd sub-command.
  • User can use --help or -h flag to get all the available commands and flags.
  • User can use --help or -h flag to get the sub-commands of command.

V2 - Version 2.*

  • User can subtract multiple numbers using subtract command.
  • User can multiply multiple numbers using multiplication command.
  • User can divide multiple numbers using division command.

V3 - Version 3.*

  • User not need set -f flag to use floating numbers
  • User can can set flag -r, --round to select number of decimal cases or round to int.
  • User can add string expression using resolve or direct command.

V4 - Version 4.*

  • User can resolve Power Of.
  • User can resolve Square Root of.
  • User can resolve rule of three

Useful links and resources

Example projects


This project is under the MIT license. See the LICENSE file for more details.

3.0.9

3 years ago

3.0.8

4 years ago

3.0.7

4 years ago

3.0.6

4 years ago

3.0.5

4 years ago

3.0.4

4 years ago

1.0.0

4 years ago

3.0.1

4 years ago

2.0.6

4 years ago

0.0.4-beta

4 years ago

0.0.2-beta

4 years ago

0.0.1

4 years ago