------- Additional Comments From black dot hole dot sun16 at gmail dot com 2005-07-20 23:13 ------- (From update of attachment 9309) >#include <stdio.h> > >/* Program prints the first 10 postitive integers and their factorials */ > >main() >{ >long double i, j, k = 1; > >for(i = 1; i <= 100; i++) > { > for(j = i; j > 0; j = j - 1) > { > k = k * j; > if(j == 1) > { > printf("factorial of %Lf is %Lf\n", i, k); > k = 1; > } > } > } > return 0; >}
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22576