Commit 2a9c03d2 authored by Michael Beck's avatar Michael Beck
Browse files

fixed the parameter

[r20781]
parent 663ac704
......@@ -9,6 +9,6 @@ int factorial(int x) {
}
int main(int argc, char **argv) {
int val = atoi(argv[0]);
int val = atoi(argv[1]);
printf("%d\n", factorial(val));
}
Supports Markdown
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