Question: *USING C++ PROGRAMMING* The following struct definition consists of four data members: book's title, serial number, price and shelf location. Write a program to perform

*USING C++ PROGRAMMING*
The following struct definition consists of four data members: book's title, serial number, price and shelf location. Write a program to perform the following tasks: a) Create an array named malay of 5 books b) Write the function definition for each of the following i. Function inputData( ): This function receives two parameters; an array of malay books and the size of the array. It then reads data from the user and stores them into the array. ii. Function expensiveBook( ): this function receives two parameters; an array of malay books and the size of the array. It determines the most expensive book and displays all the information about the book. iii. Function searchTitle( ): this function searches book title and display the book details. If the title is not found, display an appropriate message. Searched book title is received through this function parameter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
