Skip to content

Commit

Permalink
valid both factorial programs
Browse files Browse the repository at this point in the history
  • Loading branch information
wilyJ80 committed Dec 15, 2024
1 parent 42b5988 commit c3b4e34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ int main(int argc, char *argv[]) {
FILE *fd;
int lineCount = 1;

fd = fopen("./doc/examples/code.proc", "r");
fd = fopen("./doc/examples/fatrec.proc", "r");
if (fd == NULL) {
fprintf(stderr, "Error opening file\n");
return EXIT_FAILURE;
Expand Down Expand Up @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) {
int line = 1;
lc = &line;

fd = fopen("./doc/examples/code.proc", "r");
fd = fopen("./doc/examples/fatrec.proc", "r");
if (fd == NULL) {
fprintf(stderr, "Error opening file\n");
return EXIT_FAILURE;
Expand Down

0 comments on commit c3b4e34

Please sign in to comment.