A memory-based file system.

A memory-based file system.

Assume that the structure:

Don't use plagiarized sources. Get Your Custom Essay on
A memory-based file system.
Just from $13/Page
Order Essay

struct personNode {

int ID;

char lastName[20];

char firstName[20];

int age[3];

struct personNode *nextPtr;


You have a file named person.csv.

You need to write codes for implementing five functions:—-

1) Input function: Input 20 last names, first names, ages, and write them to the file.

2) Load function: Read data from the file, then covert the data to a linked list. Display the average age from the the linked list.

3) Search function: search the linked list by ID, first name, last name, and age.

4) Delete a record of the linked list, then show the changed average. After doing that, please remove the record from the file.

Input 20 records:

ID, First Name, Last Name, Age

1 Liam , Smith, 25

2 Noah, Smith, 26

3 William , Smith, 27

4 James, Smith, 60

5 Oliver, Smith, 35

6 Benjamin , Smith, 45

7 Elijah, Smith, 10

8 Lucas, Smith, 35

9 Mason, Smith, 20

10 Logan, Brown ,19

11 Emma, Brown, 29

12 Olivia, Brown, 39

13 Ava, Brown, 49

14 Isabella, Brown, 59

15 Sophia, Brown, 18

16 Charlotte, Brown, 17

17 Mia, Brown, 12

18 Amelia, Brown, 10

19 Harper, Brown, 8

20 Evelyn, Brown,15

Preferred language style US English

Calculate your order
275 words
Total price: $0.00

Top-quality papers guaranteed


100% original papers

We sell only unique pieces of writing completed according to your demands.


Confidential service

We use security encryption to keep your personal data protected.


Money-back guarantee

We can give your money back if something goes wrong with your order.

Get free features with our reliable essay writing service

  1. Title page

    We offer you a free title page tailored according to the specifics of your particular style.

  2. Custom formatting

    Include your preferred formatting style when you order from us to accompany your paper.

  3. Bibliography page

    Get a list of references to go with your ordered paper.

  4. 24/7 support assistance

    Reach out to our support agents anytime for free assistance.

Calculate how much your essay costs

Type of paper
Academic level
550 words

How to place an order

  • Choose the number of pages, your academic level, and deadline
  • Push the orange button
  • Give instructions for your paper
  • Pay with PayPal or a credit card
  • Track the progress of your order
  • Approve and enjoy your custom paper

Ask our experts to write you a cheap essay of excellent quality

Place an order