Develop Simple Database System in C

This project is to build a database with add, print, find, and delete informations in a txt file.
In the user interface, user can enter any letter within the option to execute the method except method. For example , enter 'a' will allow user to go in the add method.
"add" this will be asking for the account number, name, and address. Once more than one record in the database, the records will be stored in small to large order by the account number.
"printAll" this will print all the records in the database.
"delete" this will search the record with the account number user entered to delete it.
"quit" leave the database and all the records will be store in txt file.

Concepts of C language involve in this project are allocate/deallocate memory, read/write file, and single-linked list.
Allocate/deallocate memory by using the method malloc() to allocate the spaces for the datatype, and using free() method to release the spaces we allocated.

 {
  // pointer = (datatype)malloc(size) Example below:
  pointer = (int*)malloc(sizeof(int));
  // free(pointer) Example below:
  free(pointer);
 }


read/write txt file

 {
 FILE *fptr; // getting a pointer for a file
 fopen("data.txt","w"); // write the filename if in the same directory, and w states that file open to writing mode
 fopen("data.txt", "r") // write the filename if in the same directory, and w states that file open to reading mode
 fclose(fptr); // close file after make changes 
 }

Source files.