Create a menu driven program that will perform the following operations specified below. The program shall request data needed and display the result accordingly. Operations: - ADD NEW DATA - INSERT DATA - UPDATE DATA - DELETE DATA - RESET - SHOW DATA - EXIT Operations: - ADD NEW DATA – request single data from the user and store to arraylist - INSERT DATA – request index location and data to be inserted - UPDATE DATA – request index location and data to be updated - DELETE DATA – request data to be deleted - RESET – clear or reset the elements of arraylist - SHOW DATA – display all the elements of arraylist in horizontal manner - EXIT – end the execution of the program
Create a new C# project then write a code equivalent to solve the problem given below.
Create a menu driven program that will perform the following operations specified below. The program shall request data needed and display the result accordingly.
Operations:
- ADD NEW DATA
- INSERT DATA
- UPDATE DATA
- DELETE DATA
- RESET
- SHOW DATA
- EXIT
Operations:
- ADD NEW DATA – request single data from the user and store to arraylist
- INSERT DATA – request index location and data to be inserted
- UPDATE DATA – request index location and data to be updated
- DELETE DATA – request data to be deleted
- RESET – clear or reset the elements of arraylist
- SHOW DATA – display all the elements of arraylist in horizontal manner
- EXIT – end the execution of the program
Step by step
Solved in 3 steps