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///

10 Years
Discussion Span
Last Post by Agni

if you post the code you wrote and tell us at which point you're getting stuck then we can give you some good advice...


i dont have code....i need code from your side for my program..all i can say is that i need a tutorial


then i'd suggest you dont waste your time here.. nobody will help you unless you show us what u've tried ... there are a lot of c++ tutorials available online ...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.