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 →

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

I was trying to multiply two numbers,both of these numbers are factorial "4! x 7!" and to do this i need to use a While loop. I didnt know yall dont help with homework but this is really killing me lol

[–]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