int fak(n) { int help=1; while(n>1) { help=help*n; n=n-1; } return help; }