Question: Array Delete Lab rite a program that deletes a name from an array of student names. The program should work for any number of students
Array Delete Lab rite a program that deletes a name from an array of student names. The program should work for any number of students between O and 10 1) Ask the user to input the number of students, up to 10, followed by their names 2) Input the name to be deleted 3) Find the name in the array, delete it, and move all the following names 'up' to fill the gap in the array 4) If the name is not found, print a message and ask the user to try another name 5) Print out the revised list of students Your program must use two methods, one to find the name and another to delete it, with array parameters You can do this lab either with an array or an ArrayList. Explain the reason for your choice to the TA
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
