Computer Science, asked by kritikayadav190305, 8 months ago

WAP to fetch a number and display its factorial. [4]
Hint: if the 4 is given as the number, factorial is calculated as 4*3*2*1 = 24 and then the output should
be displayed in the following format :
The factorial of 4 is 24

Answers

Answered by BhumikajhaVIIIC
0

Answer:

The factorial of a positive number n is given by: factorial of n (n!) = 1 * 2 * 3 * 4....n. The factorial of a negative number ...

Similar questions