]> hackdaworld.org Git - lectures/latex.git/blob - computational_physics/fak2.c
fixes..
[lectures/latex.git] / computational_physics / fak2.c
1 int fak(n) {
2     int help=1;
3     while(n>1) {
4       help=help*n;
5       n=n-1;
6     }
7 return help;
8 }