mions Add Item. Vien Items. Delete Items and Exit From the program our program and display a list of these operators then ask the user to enter the mumber d) You can enter 1, 2, 3, or 4 for choesing Add, View or Delete and Exit ptions: d operation you need to insert items into a list, also you need to sorting the items insi w operation you ncod to display the items that has been add before dete operation, you neced to delete according to the item that user has been select you want to delete the second item, the program should ask you which item you need ll select the second item then deleted fom the list program should be inside a while loop and exit loop whenever you Enter 4 (Exit open

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Write a method (function) that called To_do List () and this function displays a menu of operations as
shown in the sample
Operations: Add Item. View Items. Delete Items and Evit. From the prouram
Run your program and display a list of these operators then ask the user to enter the mumber of operation
(method) You can enter 1, 2, 3, or 4 for choosing Add, View or Delete and Exit
Descriptions:
For add operation you need to insert items into a list, also you need to sorting the items inside the list.
For view operation you neod to display the items that has been add before
For delete operation, you need to delete according to the item that user has been select.
Ex: if you want to delete the second item, the program should ask you which item you need to delete, and
you will select the second item then deleted form the list
Your program should be inside a while loop and exit koop whenever you Enter 4 (Exit operation)
<Output>
Methods
1. Add Item
2. View Items
3. Delete hem
4. Exit
Choose an operate: 1
Add your item: you can write anything, strings, numbers. Ex: 1,2. or name .
After that again the method function call again to show you which operator you want to achieve
Metheds:
I. Add Item.
2. View Items
3. Delete Item
4. Exit
Choose an operate:
Add your item: Homework!
Methods
1. Add Item
2. View Items
3. Delete liem
4. Exit
Choose operator: 2
**Your to do list***
I Breakfiast
2 Homework
Transcribed Image Text:Write a method (function) that called To_do List () and this function displays a menu of operations as shown in the sample Operations: Add Item. View Items. Delete Items and Evit. From the prouram Run your program and display a list of these operators then ask the user to enter the mumber of operation (method) You can enter 1, 2, 3, or 4 for choosing Add, View or Delete and Exit Descriptions: For add operation you need to insert items into a list, also you need to sorting the items inside the list. For view operation you neod to display the items that has been add before For delete operation, you need to delete according to the item that user has been select. Ex: if you want to delete the second item, the program should ask you which item you need to delete, and you will select the second item then deleted form the list Your program should be inside a while loop and exit koop whenever you Enter 4 (Exit operation) <Output> Methods 1. Add Item 2. View Items 3. Delete hem 4. Exit Choose an operate: 1 Add your item: you can write anything, strings, numbers. Ex: 1,2. or name . After that again the method function call again to show you which operator you want to achieve Metheds: I. Add Item. 2. View Items 3. Delete Item 4. Exit Choose an operate: Add your item: Homework! Methods 1. Add Item 2. View Items 3. Delete liem 4. Exit Choose operator: 2 **Your to do list*** I Breakfiast 2 Homework
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education