beyond-program-tracer: リファクタリング後の関数で何故か n が使用されていない問題を解消

parent fcab5176
......@@ -163,7 +163,7 @@ int main(int argc, char *argv) {
int factorial(int n) {
int i;
int acc = 1;
for (i = 1; i <= 5 ; i++) {
for (i = 1; i <= n ; i++) {
acc = i * acc;
}
return acc;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment