Page 398 - Web Applications (803) Class 11
P. 398

14.   Factorial of a number means that the given number is multiplied by all the numbers preceding up to that number.
                   For eg,
                   5! = 5 × 4 × 3 × 2 × 1 = 120
                   Write a program in JavaScript to determine the factorial of a given number.
               15.   Write a JavaScript program to generate the following output using switch case statement.















































































                396   Touchpad Web Applications-XI
   393   394   395   396   397   398   399   400   401   402   403