n! олох

‪#‎include‬
#include
main()
{int n,i,s=1;
printf("N toogoo oruul");
scanf("%d",&n);
for(i=1;i<=n;i++)
s=s*i;
printf("%d toonii factorial %d.",n,s);
getch();
}

Comments