hello friends iam not able to get logic behind solving the question mentioned below,,,,i tried a lot using various books.....online tutorials but at the end just lost it......

you ppl are kindly requested to provide me help in order to save my interest in programming.....

ok the question is:

Write a program in c++ to find the factorial of a given number.For doing this create a class factorial in which define two methods get_Number(int) and display_factorial for reading number and displaying factorial of the read number respectively.


Hoping for a good response....

Thanking you///