Skip to content

Calculates the price amount of an order given a catalog and pairs of Products and Quantities.

Notifications You must be signed in to change notification settings

brunomptorres/calculate-order

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CalculateOrder.js

Calculates the price amount of an order given a catalog and pairs of Products and Quantities.

Requires Node.js on your machine.

Developed and tested on Node.js v10.13.0.

You can use nvm (macOS/Linux) or nvm-windows to easily switch Node versions between different projects.

Usage

node CalculateOrder Path_to_catalog Product1 Quantity_P1 <Product2 Quantity_P2> ...

About

Calculates the price amount of an order given a catalog and pairs of Products and Quantities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published