Programme To Find Factorial Of A Given Number In C++ With Out Using Class Concept?


1 Answers

Alongbar Daimary Profile
Finding Factorial without Class Concept.
void main(){
int Number=0;
int Factor=1;
cout<<"Enter any number to find Factorial.";
for(int I=1;I<=Number;I++){
Factor=Factor * I;
cout<<"Required Factorial of <<Number << is: "<<Factor;

thanked the writer.
Gulzar A Laskar
Gulzar A Laskar commented
Abbey ek program to mere liye bhi chur k jaa
Anonymous commented
It doesnt work?
Alongbar Daimary
Alongbar Daimary commented
Hi Fact;
It is already tested.
Run it at Turbo C.
If You R running at Visual C++ then Remove #include and getch();

Answer Question