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

Write a C program that will that will mimic a DatabaseManagement System. This pr

ID: 3610443 • Letter: W

Question

Write a C program that will that will mimic a DatabaseManagement System. This program will essentially read and write afixed length record of data to and from a binary file. Each recordwill contain an ID field plus the following fields:

·         FirstName – 20 chars

·         LastName – 20 chars

·         Addr– 30 chars

·         Age– integer

The program will prompt the user to read or write a record. Whenreading a record from the binary file, ie a get command. theprogram will read the data from the file and display the data onthe screen. So in the case of a read the command entered will besomething like “Get ID”.

For a write operation the program will Accept a command such as“Put”. In this case the program will then need to readvalues for the rest of the fields. You may want to have the programcommand be “Put ID, first, last, Addr, Age”. In thisoperation we are not going to be concerned with error checking. Soyou don’t need to account for things like duplicate IDconditions and so on.

Explanation / Answer

Write a C program that will that will mimic a DatabaseManagement System. This pr

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote