I need help this problem. this is c++ language Write a C++ function to display a
ID: 3698825 • Letter: I
Question
I need help this problem. this is c++ language
Explanation / Answer
main(){
vector<Author> list;
Book books[50]; // Assuming maximum 50 books are available
// Iterate over each book
for(int i=0; i<50;i++)}{
// Get list of all the authors of current book
list = listbooks[i].getAuthors();
// Iterate over authors list to check if current book has author "Sara Smith", if yes then print book title
for(int j=0; j<list.size;j++){
if(list[j].comapre("Sara Smith") == 0)
cout<<books[i].title<<endl;
}
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.