Problem Statement:

Create a script to find the factorial of a given number.

Source Code:

ex6.html

ex6script.js

Output:

Click here for output