Skip to content

SalehAkaJim/node_sum-of-params

 
 

Repository files navigation

Sum of params

Read the guideline before start

  • Read params from a command line and print the result of addition or multiplication
    • node src/app.js add 1 2 3 4 5 should print 15 - the sum of all numbers
    • node src/app.js multiply 3 4 5 should print 60 - the product of 3 * 4 * 5
  • For any other operation print Operation is not supported!
  • Skip all not numeric values
  • If there are no numeric values, print There is nothing to add (or multiply)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%