Question: Using C++ Question 5 Referring to Sample of Program at last page, complete the following questions: 1. Complete a function named deleteBook(). This function should
Using C++


Question 5 Referring to Sample of Program at last page, complete the following questions: 1. Complete a function named deleteBook(). This function should delete selected data based on book ID entered by user. 2. Complete a function named updateBookl). User will enter book ID as search input and the function should be able to update details of book based on following options: Option 1 (bookName): function will update the book name based on input entered by user. Option 2 (bookPrice): function will update the book price based on input entered by user. Option 3 (bookQty): function will update the book quantity based on input entered by user. . Sample of Program 1/Question 4(1) I/Question 4(2) int menu() { int choice; cout > choice; return choice; void registerBoak[/* suitable variable")) { 1/Question 4(3) void delataBook /* suitable variable"/) { 1/Question 4(4) 3 void displaybook(/* suitable variable"/) { 1/Question 5(1) void updatebookl/* suitable variable) { I/Question 5(2) } int main() { vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
