Day 21 of #100daysofjs

Questions:

  1. Create an array of numbers and take input from the user to add numbers to the array.

  2. Keep adding numbers to the array in 1 until 0 is added to the array.

  3. filter for numbers divisible by 10 from a given array.

  4. Create an array of square of given number.

  5. Use reduce to calculate factorial of a given number from an array of first n natural numbers ( n bring the numbers whose factorial needs to be calculated )

Answers