View Full Version: what is a factorial?

C++ Learning Community > C++ Help > what is a factorial?


Title: what is a factorial?
Description: math question


ih8censorship - June 30, 2003 02:37 PM (GMT)
well as i was reading last night about c++ i came across a program to find a factorial-- and it dident desribe it in a way i could understand ... all i really got out of it is its something to do with multiplication. if someone could tell me what this is it would be great, but its not urgent or anything id just like to know

Shadow of the Moon - June 30, 2003 03:24 PM (GMT)
!n, or the factorial of n, is n multiplied by all the positive integers less than n.

So !4 would be 4*3*2*1 or 24
:)

ih8censorship - June 30, 2003 03:26 PM (GMT)
oh ok now that makes sense , thanks :) i wonder why they couldent have made it that simple in the book? :blink:

Dragon - June 30, 2003 06:10 PM (GMT)
Maybe they assumed that you would already know that. :unsure:

ih8censorship - June 30, 2003 10:39 PM (GMT)
yeah that could be... after all the book im using is made for a collage course.




* Hosted for free by InvisionFree