Question
Write a function, on calling it will calculate the factorial of the integer passed as a parameter, and return this factorial. The function will not display anything but will simply return the calculated result.
Get the step-by-step solution for this question inside the Vidyadip app.
Get the answer in the appGenerate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.
(a) Stealing a mouse from someone’s computer.
(b) Operating someone’s Internet account, without his knowledge.
(c) Entering in someone’s computer remotely and copying data, without seeking his permission.
(a) ASP
(b) JavaScript
(c) VBScript
(d) JSP