Write the code to create the mobile phone contacts management system . Programming language: C language. Implement all functions needed
Sample Program. Needs correction.
Mobile Phone Contacts Management System 1) Requirements The contacts should be stored in a file system must provide input and output function Your system could browse and display all records. System should check if there is an existed record and there is available space before a new record inserted into. The new record inserted into should be sorted in ascending order. System must provide functions like search report sorting, modify, delete and adjust the record index automatically. Your system should also provide a menuwing keyboard to select option 2) System design The system includes these modules record browsing record appending record updating and record deletion medule Contact Management System Donectarse ape mobile Umane insie pe toate 3) Detailed design Struct communication Method Charname[20]: Chartel[12 phone number Int type contact Catogory is work.lis personal. 2 is business Char email|20: In un record index number Com Mid (1) Browse medule Use menu options to select browse, select type, then all records of the type selected will be displayed. This is a process of search and display, find the records of matched type in the file and output (2) Append module First, check if there are already 15 records. If yes, output message "Contacts is full! No available space" then returns to up level menu. Otherwise, ask user to input one now record and compare the new one with all these existed. If there is no same record in system, use function write appendinte file and number the record start counting when checking duplication) Or display "The record is existed, please input again or abort? (3) Update module Select update module input a reed and read records from the file, if the record is the one need to be updated input new date and write in the file If no record found matching to the new recoed, then write the new record into file directly (4) Delete module Select delete module, you have to implement deletion operation by yourself: read records from file, determine it is to be deleted or not compare with the input recond) If yes, ignore that otherwise, rewrite the record into the file. nagement System Mini pe **** Welcome to Abigail's Contact Management Systen MAIN MENU EEEEEEEEEEEEEEEEEEEE [1] Add a new Contact [2] List all Contacts [3] Search for contact [4] Edit a Contact [5] Delete a Contact [@] Exit Enter the choice: Mobile Phone Contacts Management System 1) Requirements The contacts should be stored in a file system must provide input and output function Your system could browse and display all records. System should check if there is an existed record and there is available space before a new record inserted into. The new record inserted into should be sorted in ascending order. System must provide functions like search report sorting, modify, delete and adjust the record index automatically. Your system should also provide a menuwing keyboard to select option 2) System design The system includes these modules record browsing record appending record updating and record deletion medule Contact Management System Donectarse ape mobile Umane insie pe toate 3) Detailed design Struct communication Method Charname[20]: Chartel[12 phone number Int type contact Catogory is work.lis personal. 2 is business Char email|20: In un record index number Com Mid (1) Browse medule Use menu options to select browse, select type, then all records of the type selected will be displayed. This is a process of search and display, find the records of matched type in the file and output (2) Append module First, check if there are already 15 records. If yes, output message "Contacts is full! No available space" then returns to up level menu. Otherwise, ask user to input one now record and compare the new one with all these existed. If there is no same record in system, use function write appendinte file and number the record start counting when checking duplication) Or display "The record is existed, please input again or abort? (3) Update module Select update module input a reed and read records from the file, if the record is the one need to be updated input new date and write in the file If no record found matching to the new recoed, then write the new record into file directly (4) Delete module Select delete module, you have to implement deletion operation by yourself: read records from file, determine it is to be deleted or not compare with the input recond) If yes, ignore that otherwise, rewrite the record into the file. nagement System Mini pe **** Welcome to Abigail's Contact Management Systen MAIN MENU EEEEEEEEEEEEEEEEEEEE [1] Add a new Contact [2] List all Contacts [3] Search for contact [4] Edit a Contact [5] Delete a Contact [@] Exit Enter the choice