Factorial of a number in ASP scripting, and I have to output the number i.e...

Man

New member
...n-1, n-2, n-3....n-(n-1)? Ok, so here it goes I want to find the factorial of a number the User inputs. No big deal. Then I gotta output the value, piece ov cake. But what I gotta output goes more like this..

OUTPUT

Enter a value : 4

1*2*3*4 = 24

So the problem here is me getting 1*2*3*4 = 24.....I can output the factorial value and make it appear LIKE THIS 1*2*3*4*24. Thats the most my intellectual capability makes me come up with..please help me
 
Back
Top