0_0_36239010_30411.cpp: In function 'void factorial(int)':
0_0_36239010_30411.cpp:6:18: error: expected primary-expression before ',' token
int digits=1/, carry, i, j;
^
0_0_36239010_30411.cpp:8:9: error: 'i' was not declared in this scope
for(i=2;i<=n;i++)
^
0_0_36239010_30411.cpp:10:9: error: 'carry' was not declared in this scope
carry = 0;
^
0_0_36239010_30411.cpp:12:13: error: 'j' was not declared in this scope
for(j=0; j<digits; j++)
^
0_0_36239010_30411.cpp:24:9: error: 'i' was not declared in this scope
for(i=digits-2; i>=0; i--)
^
|