Question: IO Java ______________________________________________________________________ This program will allow the user to add, edit and remove a list of names that is stored. Present the user with

IO Java

______________________________________________________________________ This program will allow the user to add, edit and remove a list of names that is stored.

Present the user with the following menu: 1. Display Data 2. Add New Entry 3. Edit Data 4. Remove Entry 5. Quit

Program will need implement each of these menu options as follows:

Display Data will read in a file called names.txt and display the names in numbered order.

Add New Entry will prompt the user for a new name. The name will need to be validated and then added to the end of the list of names in the file. Edit Data will show the list of numbered names and prompt the user to enter the number for the name they would like to edit. That name will be replaced with the new name that is entered by the user. (Validation required) Remove Entry will prompt for the number of the name to remove and remove it from the file.

Validation specs: Each each name should contain only letters and spaces(no digits or special characters). There is no limit to the number of spaces.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!