int main()
{
int i;
cout<<"inter the number:";
cin>>i;
int j,fact=1;
for(j=i;j>=1;j--)
fact=fact*j;
cout<<"factorial is"<<fact;
return 0;
}
int main()
{
int i;
cout<<"inter the number:";
cin>>i;
int j,fact=1;
for(j=i;j>=1;j--)
fact=fact*j;
cout<<"factorial is"<<fact;
return 0;
}
Welcome @blacksteemit
You may like this nice Card. Use it in any way you want: It is a completly free gift for you :)
PS: Some clever Steemians print it for takeaway. The QR-Code leads directly to your blog.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
i will try it..
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Howdy howdy
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey , how are you ?
welcome to steemit @blacksteemit
following you now. :D
follow me back pls.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit