Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Following code to be written in C You are required to create a student managemen

ID: 3617729 • Letter: F

Question

Following code to be written in C

You are required to create a student management system that willallow you to store and update student records. Each student recordshould consist of an id, a name (first name and last name), date ofbirth,address,telephone number and the program being pursued.

Assume 10 records will be stored.

1. Create and populate an array of records. Store records intofile.

2. Allow user to update a record. Note, the user should onlymanipulate the data structure. All changes to the data structureshould then be used to overwrite the file.

3. Allow user to search for a record from the data structure.

4. Print all records from the structure.

N.B.Student should Create Appropriatefunctions to solve the problem.

Explanation / Answer

please rate - thanks to get you started #include #include struct SMS    {int id;    char first[15];    char last[15];    char dob[11];    char phone[15];    char program[20]; }stu[10]; int create(struct SMS[],int); int search(struct SMS[],int ); void update(struct SMS[],int); void print(struct SMS[],int); void printstudent(struct SMS[],int,int); int menu(); int main() {int choice,n=0,m; for(;;) { choice=menu(); switch (choice)    {case 1: n=create(stu,n);break;      case 2:update(stu,n);break;     case 3: m=search(stu,n);            if(m>=n)               printf("student not in data base ");            else               printstudent(stu,n,m);            break;     case 4: print(stu,n);break;     case 5: return 0; } } getch(); return 0; } int menu() {int choice; printf("What would you like to do to the database? "); printf("1. create 2. update 3. search 4. print 5. Quit Enterchoice: "); scanf("%d",&choice); while(choice5)     {printf("Invalid entry ");      printf("What would you like to do to thedatabase? ");      printf("1. create 2. update 3.search 4. print 5. Quit Enter choice: ");      scanf("%d",&choice);      } return choice; } int create(struct SMS stu[],int n) {int i=n; printf("Enter id(