DEV Community

vikash kumar singh
vikash kumar singh

Posted on

Write a js program

Write a js program

-5

Write a js program to create a function. The program has a function which calculates the first ten multiples of all the numbers, starting from 1 till the given number, and returns sum of all the multiples as result. Use while loop inside while loop.Your output code should return the…

Top comments (0)