diff --git a/real/q1.c b/real/q1.c index 512216c..8d19e64 100644 --- a/real/q1.c +++ b/real/q1.c @@ -485,7 +485,10 @@ again: printf("\nRecord saved successfully!\n"); // reload data into linked list again - read_file(); + // read_file(); + + // show back the all results + display_students(); } void read_file() diff --git a/work1/q1.c b/work1/q1.c index 3e25fb8..99b08ae 100644 --- a/work1/q1.c +++ b/work1/q1.c @@ -485,7 +485,9 @@ again: printf("\nRecord saved successfully!\n"); // reload data into linked list again - read_file(); + // read_file(); + + display_students(); } void read_file() diff --git a/work1/q3.c b/work1/q3.c new file mode 100644 index 0000000..e69de29