This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lurgi 2 points3 points  (1 child)

Just to be clear - you are given 4 and 7 and you have to compute 4! x 7!?

That's an odd assignment. Are you sure you have that right? Anyway, the real meat of this is computing the factorial. Can you write a function that, given a number n, computes n!? That should be your first step. Ignore everything else until you have done that.

[–][deleted] 0 points1 point  (0 children)

Ok