Hi, i'm trying to develop a program that can calculate factorial, but i'm not getting the exact result i want, so i'm asking if anyone can help me by giving me the procedures to follow to get the result i'm after. the formula is (n*(n-1)*(n-2)*(n-3)...), please help me get the result. Thanks to all.
Re: snippet to solve ur factorial fact=1; for(i=n;i>=1;i--) { fact=fact*i; } printf("%d",fact); thats it!