Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Java, create a To-do list Step 1: Declare a partial array to hold String values. Allow the user to determine the size of the

In Java, create a To-do list

Step 1: Declare a partial array to hold String values. Allow the user to determine the size of the array and to enter a number of tasks into the array. Print a numbered list of the tasks (numbering must start at 1). The list should display only those array elements that contain tasks empty elements should be ignored.

Step 2: Provide a simple menu to allow the user the option to add, change or delete a task from the list. Also include the option to terminate the program.

Step 3: In the main program logic, use the menu and number assigned to the task, to allow the user to add a task to the end of the list. Display an error if the user attempts to add a task to a full list. When the user opts to change a task, obtain the new task description and replace the old description with the new. When the user opts to delete a task, you must move the tasks below it up so as not to have an empty element in the list. The change and delete processes require the user to supply the task number. If the task number entered is not within the boundaries of the list, display an error and skip the process.

Step 4: Allow the user to continue processing until the user selects the terminate menu option.

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

Advanced Oracle Solaris 11 System Administration

Authors: Bill Calkins

1st Edition

0133007170, 9780133007176

More Books

Students also viewed these Databases questions

Question

Explain discipline and disciplinary action.

Answered: 1 week ago

Question

How do we organise for international logistics?

Answered: 1 week ago

Question

What are the logistics implications of internationalisation?

Answered: 1 week ago