Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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 Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

Students also viewed these Databases questions

Question

In what ways do lenders and investors lend legitimacy to a firm?

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago