Home / Expert Answers / Computer Science / c-please-6-6-final-project-vector-struct-additions-1-create-a-book-structure-near-the-top-o-pa496

(Solved): C++ Please 6.6 Final Project - Vector \& Struct Additions 1. Create a Book structure near the top o ...



C++ Please

student submitted image, transcription available belowstudent submitted image, transcription available belowstudent submitted image, transcription available below
6.6 Final Project - Vector \& Struct Additions 1. Create a Book structure near the top of Main. Make the Book structure contain the following fields of data (aka "data members"): - title - isbn - author_first - author_last - pages - value Be sure to use appropriate data types for each field 2. Create three Book objects: - book1 - book 2 - book3 Populate them with the following data: bookl.title = "Manakamana"; bookl.isbn "023130551-6"; bookl. author_first = "Jenney"; bookl. author_last = "Ruthi"; bookl.pages ; bookl.value ; book2.title = "Polyester"; book 2 .isbn "319619356-X"; book2. author_first = "Shelia"; book2.author_last = "Koepp-Prohaska"; book 2 pages ; book 2 value ; book3.title = "Hen Hop"; book3.isbn "526262621-1"; book3. author first = "Cheevers"; book3. author_last = "Kore"; book 3 .pages ; book 3. value ; 3. Create a new vector of Books called library. 4. Add all three books to the library. 5. Modify Option 3 of the switch statement so that it uses a For-Each Loop to print the data for each book in a format like this: Title: Manakamana ISBN: 023130551-6 Author: Jenney Ruthi Pages: 656 Value: 73.05 Load default template... \#include using namespace std; int main( ) \{ 1/ Print menu cout "Welcome to My Library!" endl; cout endl; cout Add a Book" endl; cout Load a Library File" endl; cout ... Display All Books" endl; cout "...Delete a Book" endl; cout ... Total value of Library" endl; cout " Save and Exit" endl; cin menuchoice; Get menu choice cout endi; blank line ADD CODE HERE return ; end main Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box.


We have an Answer from Expert

View Expert Answer

Expert Answer



The following is the modified version of the code that incorporates the given instructions:
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe