Should give understandable feedback

void factorial(int *x){ int y = *x; while(y != 1){ y = y*y-1; --y; } *x =y; }Submitted by Eelco Visser on 5 January 2013 at 22:14

Log in to post comments