Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following is to be completed with the Buffered Reader/Writer Arrays/Files Assignment 1. Create a file which contains the following information. Name the file employee.txt.

image text in transcribed
The following is to be completed with the Buffered Reader/Writer Arrays/Files Assignment 1. Create a file which contains the following information. Name the file employee.txt. Save as FilesBEx1 Employee# Employee Name Marital Status Age Salary 0128 B.Smith M 19 11000 1008 H.Holly S 24 14800 2009 S.Dan S 26 12000 1109 T.Fal M 32 16400 0118 H.Onda 19 22000 Create the following using a Menu 1. Open File 2. Save File 3. Add a record 4. Delete a record 5. Modify a record 6. Display All 7. Quit When Open is selected from the file is retrieved into array(s). When Save is selected from the menu contents of the array(s) are saved to a file When Add is selected from the menu, a new employee can be added into the arrays. There should no file access at this point. When Delete is selected from the menu, the user is displayed employee names and prompted which one to delete. When a name is selected (you may list numbers beside the names), the employee is deleted. (Removed from the array(s)) When Modify is selected from the menu, the user is displayed the names of the employees and prompted which one to modify. When a name is selected (you may list numbers beside the names) the user can then change the information for that employee. The arrays are then updated. When Display All is selected from the menu, all employees and their information are displayed to the user, neatly line up with titles. When Quit is selected from the menu, the program terminates

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

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions

Question

Prepare a short note on dandi March ?

Answered: 1 week ago

Question

Famous slogan in India?

Answered: 1 week ago

Question

Dr.br.ambedkar for the development views ?

Answered: 1 week ago

Question

Classify Various Phases of clinical Trials?

Answered: 1 week ago