Int a,b,c; Clrscr(); Cout<<’enter the number of whom you want to find the factorial’; Cin>>b; A=1;c=b; While(a<b){ C=c*a; A++;} Cout<<”\n\n factorial is ”<<c;
}
No comments:
Post a Comment
If You Like The Post Or want to Add Something More then feel free to comment
No comments:
Post a Comment
If You Like The Post Or want to Add Something More
then feel free to comment