Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C program for Employee Record System: The main features of this project include basic file handling operations; you are to add, list, modify

Write a C program for Employee Record System:

The main features of this project include basic file handling operations; you are to add, list, modify and delete data to/from file.

Implement following functions for employees

Add record

List record

Modify record

Delete record

You are to prompt the user for list of operations and execute the selected function until user selects to exit. Use data structures and file handling to store the records.

Sample main menu:

image text in transcribed

Sample run of add records:

image text in transcribed

Notes:

1- Code should be fully commented and structured (using functions).

2- You can only use the following in completing the program:

a- stdio.h: printf,scanf,fprintf,fscanf,gets,puts,fputs and fgets.

b-selection statements.

c-loops.

d-functions

e-pointers.

f-files.

g-strings.

1. Add Record 2. List Records 3. Modify Records 4 Delete Records 5. Exit Your Choice

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Transaction Processing

Authors: Philip M. Lewis, Arthur Bernstein, Michael Kifer

1st Edition

0201708728, 978-0201708721

More Books

Students also viewed these Databases questions