Programming: Write a menu-driven program to create and manage the records in the binary file. MAIN MENU 1. Create the Binary File 2. Display the contents of the file 3. Seek a specific record 4. Update the contents of a record 5. Delete a record for the specific name 6. Exit Please Enter your choice............. The record structure for the binary file is Student ID Student Name Email ID Course ID Grade STEPS INVOLVED: 1. Develop the user menu 2. Design the student record structure 3. Accept input from the user and write user input to a binary file. 4. Read from the binary file and display the contents of the file. 5. Seek and list a specific record. 6. Update the contents of a specific record 7. Delete a record for a specific name
C
Write a menu-driven program to create and manage the records in the binary file.
MAIN MENU
1. Create the Binary File
2. Display the contents of the file
3. Seek a specific record
4. Update the contents of a record
5. Delete a record for the specific name
6. Exit
Please Enter your choice.............
The record structure for the binary file is
Student ID
Student Name
Email ID
Course ID
Grade
STEPS INVOLVED:
1. Develop the user menu
2. Design the student record structure
3. Accept input from the user and write user input to a binary file.
4. Read from the binary file and display the contents of the file.
5. Seek and list a specific record.
6. Update the contents of a specific record
7. Delete a record for a specific name.
Step by step
Solved in 2 steps with 1 images