for ( x=1; x <= num1; x++ ){
fact = fact*x;
scanf("%d", &fact);
}Why are you scanning for fact in that loop? scanf means "ask the user for specifically formatted input".
...
Type: Posts; User: quzah
for ( x=1; x <= num1; x++ ){
fact = fact*x;
scanf("%d", &fact);
}Why are you scanning for fact in that loop? scanf means "ask the user for specifically formatted input".
...