Implement the DBS Share Price Index System in Python as per Figure 2 below which allows users to add, delete, update and lookup Share Prices. The System should store the Company Name and Share Price. Your program should not allow users to add the same company more than once. On adding, deleting, updating or looking up a Share Price, your program should let the user know if the operation was successful or not. On looking up a Share Price return the Company Name and Share Price of the company; if the company is not found give the user the option to add the details they are looking up. The user can perform multiple actions; they can add a new entry and subsequently delete an entry without having to stop and start the program until they decide to quit
Implement the DBS Share Price Index System in Python as per Figure 2 below which allows users to
add, delete, update and lookup Share Prices. The System should store the Company Name and Share
Price. Your program should not allow users to add the same company more than once. On adding,
deleting, updating or looking up a Share Price, your program should let the user know if the
operation was successful or not. On looking up a Share Price return the Company Name and Share
Price of the company; if the company is not found give the user the option to add the details they
are looking up. The user can perform multiple actions; they can add a new entry and subsequently
delete an entry without having to stop and start the program until they decide to quit
![1: Add New_Entry
2 : Delete Entry
3 : Update Share Price
4.: Lookup Share Price
5: QUIT
Enter Company Name GENERAL MOTORS
Enter Share Price 25.67
Share Price Index updated successfully!
PLEASE SELECT AN OPTION BETWEEN 1 AND 5
2
Enter Company Name GENERAL MOTORS
Share Price Index updated successfully!
PLEASE SELECT AN OPTION BETWEEN 1 AND 5](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F4837c912-9381-48e3-8a1f-c42db1c196f1%2F9e462fc9-e7c8-439a-8164-653045607cb6%2Fd5z0d3_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)