...

/

File IO of Employee Records

File IO of Employee Records

Learn about storing and retrieving employee records from a file.

We'll cover the following...

Problem

Write a program that stores employee records in a file called EMPLOYEES.DAT. The program should be able to read the records back and display them on the screen.

Sample run

Here’s what you should see when you run the program.

Enter a record Saurabh 25 4500 7600
Add another Y/N? Y
Enter a record Santosh 26 6500 9300
Add another Y/N? Y
Enter a record Sameer 30 5400
...