please help me to have a program that will compute for n! (n factorial) which is the product of all numbers from 1 to n.

please help me to have a program that will compute for n! (n factorial) which is the product of all numbers from 1 to n.

OK, but this is a secret between you and me: factorial cpp

Hint1 : use a for loop.
Hint2 : if your up to it, use recursion.
Hint3 : Google oggle it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.