Factorial Program Not Printing Answer!?
I am trying to create a factorial program, to release on my site under the CPL. I have tried switching the code around in various different ways, but I cannot get the .exe to print the answer (variable), although the code breaks!! Could you give me some advice? The code is below. Thanks in advance!!!!
P.S.- I ran out of time to fix the syntax error(s) in this set up, but the other simular and error free programs did the same thing: get to the printf and skip the variable :(
z = i - 1;
(n = i * z; z>0);
if (z = 1);
printf("Your Answer is %d",n);