Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In Java language, please provide code in a very simple and easy way for understanding. For this lab, you are asked to use arrays, loops,
In Java language, please provide code in a very simple and easy way for understanding.
For this lab, you are asked to use arrays, loops, menus and input/output to make a to-do list program where the user can add/remove items to a list and provide a \"priority\"
- the user should have a menu that lets themadditem, mark item asdone,viewlist orclearlist (after they select an item from this menu, they should get all of the options presented to them again)
- when an item is added, it should be added into a list at the location that the user says (you need to prompt for where on the list). If the locations ahead of that item are blank, move the item up the list
- the to-do list (and done list) can be limited to 10 items
- when an item is marked as done, it should be moved to the done list and removed from the to-do list
- after a sentinel value is entered, the program should display the to-do list and done list
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started