subject

Design solution: The program will have a master book list of all books which is provided in the template file. Some of the books will be available and some are not. A customer would only able to checkout available books. Each of the item in the list contains a title of a book and its availability. You will need to implement a string manipulation logic to find out available books to checkout. The program will have a menu for actions available to the customer. A customer will be able to choose the following options from the menu: 1. display all books: Display all the books in the master book list with its availability information 2. add books to the cart (only available books can be added to the cart): Customer will only be able to add a book that title is in the list and its available. Once added, the status of the books needs to make unavailable. Display the master list after addition. 3. delete a book from cart: Customer will enter the name of the book and the program will look for the book in the checkout list to be deleted from. Once deleted, the master book list needs to be updated so that the deleted book from the list becomes available again. Display the master list after deletion. 4. check out books: Display the list of the books that are being selected by the user. 5. exit/terminate the program. Notes: The customer cart should be implemented as a separate list. Any addition/deletion of items should be done in this list. Books should not be added or deleted from the master book list. The program needs to be case sensitive. Customer can enter the name that can have all small letter but the program should still be able to find the book if in the master list. You need to write a pseudocode for the planning of the program and needs to be submitted inside the template file. Welcome to library checkout system Available options: 1: See menu 2: Add book 3: Delete a book from cart 4: Checkout 5: Exit Enter option: 1 List of books Title Availability Girl With No Name Available Despicable Me Unavailable Journey To The Moon Available The Calculating Stars Unvailable Available options: 1: See menu 2: Add book 3: Delete a book from cart 4: Checkout 5: Exit Enter option: 2 Enter book title to add to cart: Girl with no name Book added: Girl With No Name Current List of books Title Availability Girl With No Name Unavailable Despicable Me Unavailable Journey To The Moon Available The Calculating Stars Unvailable Available options: 1: See menu 2: Add book 3: Delete a book from cart 4: Checkout 5: Exit Enter option: 2 Enter book title to add to cart: Journey to the moon Book added: Journey To The Moon Current List of books Title Availability Girl With No Name Unavailable Despicable Me Unavailable Journey To The Moon Unavailable The Calculating Stars Unvailable Available options: 1: See menu 2: Add book 3: Delete a book from cart 4: Checkout 5: Exit Enter option: 3 Enter book title to delete: Girl with no name Girl With No Name deleted from cart Current List of books *** Title Availability Girl With No Name Available Despicable Me Unavailable Journey To The Moon Unavailable The Calculating Stars Unavailable *** Available options: 1: See menu 2: Add book 3: Delete a book from cart 4: Checkout 5: Exit Enter option: 4 Please return the books within 90 days Your book cart: Journey To The Moon Available options: 1: See menu 2: Add book 3: Delete a book from cart 4: Checkout 5: Exit Enter option: 5 Thanks for using library checkout system

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
For her science class, elaine is creating a presentation on weather in the united states. she wants to make the presentation beautiful and interesting by drawing simple cloud or wave shapes. which is the best way for elaine to draw these shapes?
Answers: 1
question
Computers and Technology, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. a company wants to use online methods to target more customers. it decides to conduct a market research by collecting the data of a few customers with their consent. they want to track data of the sites that their customers frequently visit. which software can the company? a. spyware b. bots c. adware d. trojan horse e. rootkits
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Write a program in plp assembly that counts up by one starting from zero (or one) inside a loop and writes this value to the leds every time the value is increased. the memory address of the leds is 0xf0200000. the table below shows the meaning and an example usage of the instructions covered in the video, plp instructions for project 1. instruction example usage meaning load immediate li $t0, 8 register $t0 is set to the value, 8. store word sw $t2, 0($t1) the value in register $t1 is used as the memory address. the value in register $t2 is copied into this memory address. add addiu $t4, $t3, 29 register $t4 is assigned the sum of 29 and the value in register $t3. jump j your_label_name the program jumps to the line following the label, "your_label_name: ". label your label name: defines a label called "your_label_name: " that can be jumped to
Answers: 2
You know the right answer?
Design solution: The program will have a master book list of all books which is provided in the temp...
Questions
question
Mathematics, 12.05.2021 09:40
question
History, 12.05.2021 09:40
question
Spanish, 12.05.2021 09:50
question
Mathematics, 12.05.2021 09:50
Questions on the website: 13722361